AnonymousAccessTokenProvider class
Retains an anonymous session while obtaining a fresh token for each connection.
- Implemented types
Constructors
- AnonymousAccessTokenProvider({required String resource, Uri? authorizationUrl, Client? client})
Properties
-
final
- connectUrl ↔ Uri
-
latefinal
- expiresAt ↔ DateTime?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getToken(
) → Future< String> -
override
-
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