Added in API level 34
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 CredentialManager.getCredential(Context, GetCredentialRequest, 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
CredentialManager.createCredential(Context, CreateCredentialRequest,
CancellationSignal, Executor, OutcomeReceiver) operation.
|
GetCredentialException |
Represents an error encountered during the
CredentialManager.getCredential(Context, GetCredentialRequest,
CancellationSignal, Executor, OutcomeReceiver) operation.
|
Classes
- ClearCredentialStateRequest
- CreateCredentialRequest
- CreateCredentialRequest.Builder
- CreateCredentialResponse
- Credential
- CredentialDescription
- CredentialManager
- CredentialOption
- CredentialOption.Builder
- GetCredentialRequest
- GetCredentialRequest.Builder
- GetCredentialResponse
- PrepareGetCredentialResponse
- PrepareGetCredentialResponse.PendingGetCredentialHandle
- RegisterCredentialDescriptionRequest
- UnregisterCredentialDescriptionRequest
Exceptions