androidx.credentials

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.

Credential

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

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.

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.

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.

PasswordCredential

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

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.

Type aliases

HasAuthenticationResultsDelegate
HasCredentialResultsDelegate
HasRemoteResultsDelegate