BeginGetCredentialOption


abstract class BeginGetCredentialOption

Known direct subclasses
BeginGetCustomCredentialOption

Allows extending custom versions of BeginGetCredentialOptions for unique use cases.

BeginGetPasswordOption

A request to a password provider to begin the flow of retrieving the user's saved passwords.

BeginGetPublicKeyCredentialOption

A request to begin the flow of getting passkeys from the user's public key credential provider.


Base class that a credential provider receives during the query phase of a get-credential flow. Classes derived from this base class contain parameters required to retrieve a specific type of credential. E.g. BeginGetPasswordOption contains parameters required to retrieve passwords.

BeginGetCredentialRequest will be composed of a list of BeginGetCredentialOption subclasses to indicate the specific credential types and configurations that the credential provider must include while building the BeginGetCredentialResponse.

Summary

Public properties

Bundle

the parameters needed to retrieve the credentials, in the form of the raw Bundle - can typically be ignored by the credential provider as the required properties are already parse into the structured subclasses

String

unique id representing this particular option, to be used while constructing the CredentialEntry to be set on BeginGetCredentialResponse

String

the type of the credential to be retrieved against this option, e.g. a BeginGetPasswordOption will have type PasswordCredential.TYPE_PASSWORD_CREDENTIAL

Public properties

candidateQueryData

Added in 1.2.0
val candidateQueryDataBundle

the parameters needed to retrieve the credentials, in the form of the raw Bundle - can typically be ignored by the credential provider as the required properties are already parse into the structured subclasses

id

Added in 1.2.0
val idString

unique id representing this particular option, to be used while constructing the CredentialEntry to be set on BeginGetCredentialResponse

type

Added in 1.2.0
val typeString

the type of the credential to be retrieved against this option, e.g. a BeginGetPasswordOption will have type PasswordCredential.TYPE_PASSWORD_CREDENTIAL