CreateCredentialRequest

class CreateCredentialRequest : Parcelable


Data interface for creating or saving a user credential.

Summary

Public companion properties

Parcelable.Creator<CreateCredentialRequest>

Public constructors

CreateCredentialRequest(
    type: String,
    credentialData: Bundle,
    candidateQueryData: Bundle,
    origin: String?,
    requestJson: String?,
    resultReceiver: ResultReceiver?
)

constructs an instance of CreateCredentialRequest

Public functions

final Int
open Unit
writeToParcel(dest: Parcel, flags: Int)

Public properties

Bundle

the partial request data in Bundle format, that will be sent to the provider during the initial candidate query stage, which will not contain sensitive user information

Bundle

the complete request data in Bundle format, consisting of all the data that will be sent to the provider during the final credential creation stage

String?

the origin of the request, only settable by a browser

String?
ResultReceiver?
String

the type of the credential to be created or saved

Public companion properties

Public constructors

CreateCredentialRequest

CreateCredentialRequest(
    type: String,
    credentialData: Bundle,
    candidateQueryData: Bundle,
    origin: String? = null,
    requestJson: String? = null,
    resultReceiver: ResultReceiver? = null
)

constructs an instance of CreateCredentialRequest

Parameters
type: String

the type of the credential to be created or saved

credentialData: Bundle

the complete request data in Bundle format, consisting of all the data that will be sent to the provider during the final credential creation stage

candidateQueryData: Bundle

the partial request data in Bundle format, that will be sent to the provider during the initial candidate query stage, which will not contain sensitive user information

origin: String? = null

the origin of the request, only settable by a browser

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

open fun writeToParcel(dest: Parcel, flags: Int): Unit

Public properties

candidateQueryData

val candidateQueryDataBundle

the partial request data in Bundle format, that will be sent to the provider during the initial candidate query stage, which will not contain sensitive user information

credentialData

val credentialDataBundle

the complete request data in Bundle format, consisting of all the data that will be sent to the provider during the final credential creation stage

origin

val originString?

the origin of the request, only settable by a browser

requestJson

val requestJsonString?

resultReceiver

val resultReceiverResultReceiver?

type

val typeString

the type of the credential to be created or saved