DefaultCredentialsManager class Null safety
Default CredentialsManager implementation that passes calls to the Native CredentialManagers provided by Auth0.Android or Auth0.Swift, depending on the platform.
- Inheritance
-
- Object
- CredentialsManager
- DefaultCredentialsManager
Constructors
- DefaultCredentialsManager(Account _account, UserAgent _userAgent, {LocalAuthentication? localAuthentication})
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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 non-existent method or property is accessed.
inherited
-
storeCredentials(
Credentials credentials) → Future< bool> -
Stores the given credentials in the storage. Must have an
access_token
orid_token
and aexpires_in
value.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited