EndpointLegacyStatus class Endpoint

Proxy endpoint for legacy session status operations (sign-in check, sign-out, user info retrieval).

Inheritance

Constructors

EndpointLegacyStatus(EndpointCaller caller)

Properties

caller EndpointCaller
Holds a reference to the caller class.
finalinherited
client ServerpodClientShared
Reference to the client.
latefinalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the endpoint this reference is connected to.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<SerializableModel>
Stream of messages sent from an endpoint that supports streaming.
no setterinherited

Methods

getUserInfo() Future<LegacyUserInfo?>
Returns legacy-format user info for the authenticated user.
getUserSettingsConfig() Future<LegacyUserSettingsConfig>
Returns a static user settings configuration for legacy clients.
isSignedIn() Future<bool>
Returns whether the current session is authenticated.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetStream() → void
Resets web socket stream, so it's possible to re-listen to endpoint streams.
inherited
sendStreamMessage(SerializableModel message) Future<void>
Sends a message to the endpoint's stream.
inherited
signOutAllDevices() Future<void>
Signs out all devices by deleting all legacy sessions for the user.
signOutDevice() Future<void>
Signs out the current device by deleting the legacy session.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited