class MdocInlineIssuanceEntry : InlineIssuanceEntry


An entry offering the user an opportunity to add a digital credential to your holder / wallet application during the presentation moment.

This serves as a fallback or alternative to a real digital credential that can be presented. When the verifier application requests for a digital credential presentation, it is possible that the user has not officially add their corresponding digital credential(s) to their holder application yet. The MdocInlineIssuanceEntry allows the holder application to add the credentials on the fly and then immediately return them, allowing the request, as well as the future requests, to still succeed.

Throws
kotlin.IllegalArgumentException

if id length is greater than 64 characters

kotlin.IllegalArgumentException

if supportedMdocs is empty

Summary

Nested types

Configuration determining whether the MdocInlineIssuanceEntry should be offered for a presentation request

Public constructors

Public functions

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

Public properties

Set<MdocInlineIssuanceEntry.SupportedMdoc>

supported mdocs to offer the inline issuance flow; cannot be empty

Inherited properties

From androidx.credentials.registry.provider.digitalcredentials.InlineIssuanceEntry
InlineIssuanceEntry.InlineIssuanceDisplayProperties

the display properties associated with the given entry

String

the provider unique identifier of this credential entry, which can be used to identify the exact credential that the user has chosen; it is recommended that you generate this id with enough entropy that it cannot be guessed by a third party, e.g. through encrypting this id or randomizing it.

Public constructors

MdocInlineIssuanceEntry

Added in 1.0.0-alpha02
MdocInlineIssuanceEntry(
    id: String,
    display: InlineIssuanceEntry.InlineIssuanceDisplayProperties,
    supportedMdocs: Set<MdocInlineIssuanceEntry.SupportedMdoc>
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

supportedMdocs

Added in 1.0.0-alpha02
val supportedMdocsSet<MdocInlineIssuanceEntry.SupportedMdoc>

supported mdocs to offer the inline issuance flow; cannot be empty