DefaultAuthenticator class
Default implementation of AuthenticatorProvider.
- Inheritance
-
- Object
- AuthenticatorProvider
- DefaultAuthenticator
Constructors
Properties
- credential ↔ Credential?
-
Where the authorize() stores the credential after successfull login.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
Initiates the authorization process.
override
-
close(
) → void -
Closes any resources or UI related to the authentication process.
override
-
fromTokenResponseString(
Client client, String tokenResponseString) → Credential - Converts tokenResponse String it into Credential
-
generateLogoutUrl(
) → Uri? -
Generates a logout URL based on the current credentials.
inherited
-
getTokenResponse(
[bool forceRefresh = false]) → Future< TokenResponse?> -
Retrieves the token response obtained during the authorization process.
inherited
-
getUserInfo(
) → String? -
Retrieves the user info obtained during the authorization process.
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