androidx.credentials


Annotations

Interfaces

CredentialManager

Manages user authentication flows.

CredentialManagerCallback

Callback interface intended for use when an asynchronous Credential Manager operation may result in a failure.

CredentialProvider

Provider interface to be implemented by system credential providers that will fulfill Credential Manager requests.

Classes

ClearCredentialStateRequest

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

CreateCredentialRequest

Base request class for registering a credential.

CreateCredentialRequest.DisplayInfo

Information that may be used for display purposes when rendering UIs to collect the user consent and choice.

CreateCredentialResponse

Base response class for the credential creation operation made with the CreateCredentialRequest.

CreateCustomCredentialRequest

Base custom create request class for registering a credential.

CreateCustomCredentialResponse

Base custom create response class for the credential creation operation made with the CreateCustomCredentialRequest.

CreatePasswordRequest

A request to save the user password credential with their password provider.

CreatePasswordResponse

A response of a password saving flow.

CreatePublicKeyCredentialRequest

A request to register a passkey from the user's public key credential provider.

CreatePublicKeyCredentialResponse

A response of a public key credential (passkey) flow.

CreateRestoreCredentialRequest

A request to create a restore credential used for app restore purpose.

CreateRestoreCredentialResponse

A response of the RestoreCredential flow.

Credential

Base class for a credential with which the user consented to authenticate to the app.

CredentialManagerViewHandler
CredentialOption

Base class for getting a specific type of credentials.

CustomCredential

Base class for a custom credential with which the user consented to authenticate to the app.

DigitalCredential

Represents the user's digital credential, generally used for verification or sign-in purposes.

GetCredentialRequest

Encapsulates a request to get a user credential.

GetCredentialRequest.Builder

A builder for GetCredentialRequest.

GetCredentialResponse

Encapsulates the result of a user credential request.

GetCustomCredentialOption

Allows extending custom versions of GetCredentialOptions for unique use cases.

GetDigitalCredentialOption

A request to retrieve the user's digital credential, normally used for verification or sign-in purpose.

GetPasswordOption

A request to retrieve the user's saved application password from their password provider.

GetPublicKeyCredentialOption

A request to get passkeys from the user's public key credential provider.

GetRestoreCredentialOption

A request to get the restore credential from the restore credential provider.

PasswordCredential

Represents the user's password credential granted by the user for app sign-in.

PendingGetCredentialRequest

Request to be set on an Android View, which will be invoked when the View is focused/clicked by the user.

PrepareGetCredentialResponse

A response object that indicates the get-credential prefetch work is complete and provides metadata about it.

PrepareGetCredentialResponse.PendingGetCredentialHandle

A handle that represents a pending get-credential operation.

PrepareGetCredentialResponse.TestBuilder

A builder for PrepareGetCredentialResponse for test use only.

PublicKeyCredential

Represents the user's passkey credential granted by the user for app sign-in.

RestoreCredential

Represents the user's restore credential for the app sign in.