The PubKeyCredParamType class wraps the data of a public key credential
parameter.
It is used to specify the type and algorithm of the public key credential
that is being requested.
The SignalAllAcceptedCredentialsRequestType is used to tell the platform
the complete set of credential IDs that the relying party still accepts for
a given user, so that any others can be pruned from the credential picker.
The SignalUnknownCredentialRequestType is used to tell the platform that a
credential is no longer recognized by the relying party, so that it can be
removed from the credential picker and autofill suggestions.
Thrown by a conditional (automatic) create when the platform decides not to
create a passkey, typically because the user did not just sign in with a
saved password for this account. No UI was shown.
Thrown when a conditional (automatic) create is requested on a platform or
OS version that does not support it (Windows, iOS/macOS below 18, a
browser without conditional create, an Android credential provider without
conditional create, or an Apple request that only allows a cross-platform
authenticator).
This exception is thrown when the user tries to login but is not logged in
to a Google account on his device. Being logged in to a Google account is
mandatory for passkeys to work on Android devices.
During the create credential flow, this is thrown when no viable creation
options were found for the given CreateCredentialRequest. (no passkeys
providers available or none enabled)
This exception is thrown when the Android Restore Credentials APIs are
called on a platform that does not have them: any platform other than
Android, or an Android version below API 28.
This exception is thrown when the passkey can not be retrieved from the
entity that is used for passkey syncing. Currently this error is observed
when testing on Android emulators. In these cases you need to restart the
emulator using the 'Cold Boot Now' option.