CreatePublicKeyCredentialResponse


class CreatePublicKeyCredentialResponse : CreateCredentialResponse


A response of a public key credential (passkey) flow.

Summary

Public constructors

CreatePublicKeyCredentialResponse(registrationResponseJson: String)

Constructs a CreatePublicKeyCredentialResponse.

Public properties

String

the public key credential registration response in JSON format

Inherited properties

From androidx.credentials.CreateCredentialResponse
Bundle

the response data in the Bundle format

String

the credential type determined by the credential-type-specific subclass (e.g. the type for CreatePasswordResponse is PasswordCredential.TYPE_PASSWORD_CREDENTIAL and for CreatePublicKeyCredentialResponse is PublicKeyCredential.TYPE_PUBLIC_KEY_CREDENTIAL)

Public constructors

CreatePublicKeyCredentialResponse

Added in 1.2.0
CreatePublicKeyCredentialResponse(registrationResponseJson: String)

Constructs a CreatePublicKeyCredentialResponse.

Parameters
registrationResponseJson: String

the public key credential registration response in JSON format

Public properties

registrationResponseJson

Added in 1.2.0
val registrationResponseJsonString

the public key credential registration response in JSON format