StaticAuthenticationSource class final
Authentication source backed by an in-memory token map.
- Inheritance
-
- Object
- AuthenticationSource
- StaticAuthenticationSource
Constructors
-
StaticAuthenticationSource(Map<
String, AuthenticatedUser> usersByToken)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticate(
AuthenticationRequest request) → Future< AuthenticatedUser?> -
override
-
close(
) → Future< void> -
inherited
-
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