MethodChannelCredentialsManager class

Method Channel implementation to communicate with the Native CredentialsManager

Inheritance

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.
override
getCredentials(CredentialsManagerRequest<GetCredentialsOptions> request) Future<Credentials>
Retrieves the credentials from the native storage and refresh them if they have already expired.
override
hasValidCredentials(CredentialsManagerRequest<HasValidCredentialsOptions> request) Future<bool>
Checks if a non-expired pair of credentials can be obtained from the native storage.
override
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.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited