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. 
CreateCredentialRequest.Builder A builder for CreateCredentialRequest
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 ERROR(/android.credentials.CredentialManager#getCredential(android.credentials.GetCredentialRequest,Activity,CancellationSignal,Executor,OutcomeReceiver)) operation. 
CredentialOption.Builder A builder for CredentialOption
GetCredentialRequest A request to retrieve the user credential, potentially launching UI flows to let the user pick from different credential sources. 
GetCredentialRequest.Builder A builder for GetCredentialRequest
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. 
PrepareGetCredentialResponse.PendingGetCredentialHandle A handle that represents a pending get-credential operation. 
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, CancellationSignal, Executor, OutcomeReceiver) operation. 
CreateCredentialException Represents an error encountered during the ERROR(CredentialManager#createCredential(CreateCredentialRequest, Activity, CancellationSignal, Executor, OutcomeReceiver)/android.credentials.CredentialManager#createCredential(android.credentials.CreateCredentialRequest,android.app.Activity,android.os.CancellationSignal,java.util.concurrent.Executor,android.os.OutcomeReceiver) CredentialManager#createCredential(CreateCredentialRequest, Activity, CancellationSignal, Executor, OutcomeReceiver)) operation. 
GetCredentialException Represents an error encountered during the ERROR(CredentialManager#getCredential(GetCredentialRequest, Activity, CancellationSignal, Executor, OutcomeReceiver)/android.credentials.CredentialManager#getCredential(android.credentials.GetCredentialRequest,android.app.Activity,android.os.CancellationSignal,java.util.concurrent.Executor,android.os.OutcomeReceiver) CredentialManager#getCredential(GetCredentialRequest, Activity, CancellationSignal, Executor, OutcomeReceiver)) operation.