EndpointLegacyAdmin class Endpoint
Endpoint for legacy admin operations. Requires admin scope.
- Inheritance
-
- Object
- EndpointRef
- EndpointLegacyAdmin
Constructors
- EndpointLegacyAdmin(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
Methods
-
blockUser(
int userId) → Future< void> - Marks a user as blocked and revokes all tokens.
-
getUserInfo(
int userId) → Future< LegacyUserInfo?> - Finds a user by legacy user id.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unblockUser(
int userId) → Future< void> - Unblocks a user so that they can log in again.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited