DefaultCredentialsManager class

Default CredentialsManager implementation that passes calls to the Native CredentialManagers provided by Auth0.Android or Auth0.Swift, depending on the platform.

Inheritance

Constructors

DefaultCredentialsManager(Account _account, UserAgent _userAgent, {LocalAuthentication? localAuthentication})

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() Future<bool>
Removes the credentials from the storage if present.
override
credentials({int minTtl = 0, Set<String> scopes = const {}, Map<String, String> parameters = const {}}) Future<Credentials>
Retrieves the credentials from the storage and refreshes them if they have already expired.
override
hasValidCredentials({int minTtl = 0}) Future<bool>
Checks if a non-expired pair of credentials can be obtained from this manager.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
storeCredentials(Credentials credentials) Future<bool>
Stores the given credentials in the 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