CreateRestoreCredentialResponse


class CreateRestoreCredentialResponse : CreateCredentialResponse


A response of the RestoreCredential flow.

Summary

Public constructors

Constructs a CreateRestoreCredentialResponse.

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)

Constants

BUNDLE_KEY_CREATE_RESTORE_CREDENTIAL_RESPONSE

const val BUNDLE_KEY_CREATE_RESTORE_CREDENTIAL_RESPONSEString

Public constructors

CreateRestoreCredentialResponse

Added in 1.5.0-beta01
CreateRestoreCredentialResponse(responseJson: String)

Constructs a CreateRestoreCredentialResponse.

Throws
kotlin.IllegalArgumentException

If responseJson is empty, or an invalid JSON

Public properties

responseJson

Added in 1.5.0-beta01
val responseJsonString

the public key credential registration response in JSON format.