class SelectedCredential


A credential selected within a SelectedCredentialSet.

Summary

Public constructors

SelectedCredential(credentialId: String, metadata: String?)

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

String

the id of the selected credential.

String?

optional metadata associated with the selected credential; this can be generated by the provider matcher (see RegisterCredentialsRequest.matcher)

Public constructors

SelectedCredential

Added in 1.0.0-alpha02
SelectedCredential(credentialId: String, metadata: String?)
Parameters
credentialId: String

the id of the selected credential. For example for a digital credential entry, this maps to the corresponding entry's DigitalCredentialEntry.id

metadata: String?

optional metadata associated with the selected credential; this can be generated by the provider matcher (see RegisterCredentialsRequest.matcher)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

credentialId

Added in 1.0.0-alpha02
val credentialIdString

the id of the selected credential. For example for a digital credential entry, this maps to the corresponding entry's DigitalCredentialEntry.id

metadata

Added in 1.0.0-alpha02
val metadataString?

optional metadata associated with the selected credential; this can be generated by the provider matcher (see RegisterCredentialsRequest.matcher)