android.credentials

Classes

ClearCredentialStateRequest

A request class for clearing a user's credential state from the credential providers.

CreateCredentialRequest

A request to register a specific type of user credential, potentially launching UI flows to collect user consent and any other operation needed.

CreateCredentialResponse

A response object that encapsulates the result of a successful credential creation execution.

Credential

Represents a user credential that can be used to authenticate to your app.

CredentialDescription

Represents the type and contained data fields of a Credential.

CredentialManager

Manages user authentication flows.

CredentialOption

Information about a specific type of credential to be requested during a android.

GetCredentialRequest

A request to retrieve the user credential, potentially launching UI flows to let the user pick from different credential sources.

GetCredentialResponse

A response object that encapsulates the credential successfully retrieved from the user.

PrepareGetCredentialResponse

A response object that prefetches user app credentials and provides metadata about them.

RegisterCredentialDescriptionRequest

A request to register a ComponentName that contains an actively provisioned Credential represented by a CredentialDescription.

UnregisterCredentialDescriptionRequest

A request to unregister a ComponentName that contains an actively provisioned Credential represented by a CredentialDescription.

Exceptions

ClearCredentialStateException

Represents an error encountered during the CredentialManager#clearCredentialState(ClearCredentialStateRequest, operation.

CreateCredentialException

Represents an error encountered during the CredentialManager#createCredential(Context, CreateCredentialRequest, operation.

GetCredentialException

Represents an error encountered during the CredentialManager#getCredential(Context, GetCredentialRequest, operation.