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

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. 
CredentialManager Manages user authentication flows. 
GetCredentialOption A specific type of credential request. 
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. 

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2023-02-08 UTC.