Stay organized with collections Save and categorize content based on your preferences.

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. 
CredentialManager Manages user authentication flows. 
CredentialOption Information about a specific type of credential to be requested during a CredentialManager.getCredential(android.credentials.GetCredentialRequest, Activity, CancellationSignal, Executor, OutcomeReceiver) operation. 
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. 

Exceptions

ClearCredentialStateException Represents an error encountered during the CredentialManager#clearCredentialState(ClearCredentialStateRequest, CancellationSignal, Executor, OutcomeReceiver) operation. 
CreateCredentialException Represents an error encountered during the CredentialManager#createCredential(CreateCredentialRequest, Activity, CancellationSignal, Executor, OutcomeReceiver) operation. 
GetCredentialException Represents an error encountered during the CredentialManager#getCredential(GetCredentialRequest, Activity, CancellationSignal, Executor, OutcomeReceiver) operation.