CredentialManager class
A class that provides a high-level interface for interacting with the Credential Manager.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSupportedPlatform → bool
-
Checks if the Credential Manager is supported on the current platform.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCredentials(
{CredentialLoginOptions? passKeyOption, FetchOptionsAndroid? fetchOptions}) → Future< Credentials> - Gets credentials.
-
getPlatformVersion(
) → Future< String?> - Gets the platform version.
-
init(
{required bool preferImmediatelyAvailableCredentials, String? googleClientId}) → Future< void> - Initializes the Credential Manager.
-
logout(
) → Future< void> - Logs out the user.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveGoogleCredential(
{bool useButtonFlow = false}) → Future< GoogleIdTokenCredential?> - Saves Google credentials.
-
savePasskeyCredentials(
{required CredentialCreationOptions request}) → Future< PublicKeyCredential> - Saves credentials using passkey.
-
savePasswordCredentials(
PasswordCredential credential) → Future< void> - Saves plain text password credentials.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited