AuthenticationInfo class
Holds the id for an authenticated user and which scopes it can access. Allowed scopes are defined for each Endpoint.
Constructors
-
AuthenticationInfo(int authenticatedUserId, Set<
Scope> scopes) - Creates a new AuthenticationInfo.
Properties
- authenticatedUserId → int
-
Id for an authenticated user.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ Set<
Scope> -
The scopes that the user can access.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited