CredentialsManagerPlatform class abstract
The interface that implementations of CredentialsManager must implement.
- Inheritance
-
- Object
- PlatformInterface
- CredentialsManagerPlatform
- Implementers
Constructors
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
-
clearCredentials(
CredentialsManagerRequest< RequestOptions?> request) → Future<bool> - Removes the credentials from the native storage if present.
-
getCredentials(
CredentialsManagerRequest< GetCredentialsOptions> request) → Future<Credentials> - Retrieves the credentials from the native storage.
-
hasValidCredentials(
CredentialsManagerRequest< HasValidCredentialsOptions> request) → Future<bool> - Checks if a non-expired pair of credentials can be obtained from the native storage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCredentials(
CredentialsManagerRequest< SaveCredentialsOptions> request) → Future<bool> - Stores the given credentials in the native storage. Must have an access_token or id_token and a expires_in value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ CredentialsManagerPlatform
-
Platform-specific plugins should set this with their own platform-specific
class that extends CredentialsManagerPlatform when they register
themselves.
getter/setter pair