CreateCredentialHandle

class CreateCredentialHandle : Parcelable


Returns a response for the IdentityCredentialClient.createCredential API that can be used to launch the credential selector UIs to finalize on a credential of the user's choice that can be used for app sign-in, or the actual credential response itself if no UI is needed.

Summary

Public companion properties

Parcelable.Creator<CreateCredentialHandle>

Public constructors

CreateCredentialHandle(
    pendingIntent: PendingIntent?,
    createCredentialResponse: CreateCredentialResponse?
)

constructs an instance of CreateCredentialHandle

Public functions

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

Public properties

CreateCredentialResponse?

the CreateCredentialResponse if no UI is needed

PendingIntent?

the PendingIntent to launch the credential selector UI

Public companion properties

Public constructors

CreateCredentialHandle

CreateCredentialHandle(
    pendingIntent: PendingIntent?,
    createCredentialResponse: CreateCredentialResponse?
)

constructs an instance of CreateCredentialHandle

Parameters
pendingIntent: PendingIntent?

the PendingIntent to launch the credential selector UI

createCredentialResponse: CreateCredentialResponse?

the CreateCredentialResponse if no UI is needed

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

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

Public properties

createCredentialResponse

val createCredentialResponseCreateCredentialResponse?

the CreateCredentialResponse if no UI is needed

pendingIntent

val pendingIntentPendingIntent?

the PendingIntent to launch the credential selector UI