CreateRestoreCredentialResponse


class CreateRestoreCredentialResponse : CreateCredentialResponse


A response of the RestoreCredential flow.

Summary

Public companion functions

CreateRestoreCredentialResponse

Public constructors

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 companion functions

createFrom

Added in 1.5.0-alpha03
fun createFrom(data: Bundle): CreateRestoreCredentialResponse

Public constructors

CreateRestoreCredentialResponse

Added in 1.5.0-alpha03
CreateRestoreCredentialResponse(responseJson: String, data: Bundle)

Public properties

responseJson

Added in 1.5.0-alpha03
val responseJsonString

the public key credential registration response in JSON format.