Registration

@Serializable
data class Registration(val status: Presentation.Registration.Status, val name: String? = null, val purpose: String? = null, val privacyPolicy: String? = null, val registrar: String? = null, val claims: List<List<PathElement>> = emptyList(), val expires: Instant? = null)(source)

A Verifier's registration with a registrar: who it is and what it may request, as the registrar attests.

Constructors

Link copied to clipboard
constructor(status: Presentation.Registration.Status, name: String? = null, purpose: String? = null, privacyPolicy: String? = null, registrar: String? = null, claims: List<List<PathElement>> = emptyList(), expires: Instant? = null)

Types

Link copied to clipboard

Whether a registration verified.

Properties

Link copied to clipboard

The claims paths it's registered to request.

Link copied to clipboard
@Serializable(with = InstantSerializer::class)
val expires: Instant?

When the registration expires.

Link copied to clipboard
val name: String?

The rest are set when status is Status.VERIFIED.

Link copied to clipboard
@SerialName(value = "privacy_policy")
val privacyPolicy: String?

Its privacy policy's URL.

Link copied to clipboard

Why it asks, as registered.

Link copied to clipboard

The registrar that registered it.

Link copied to clipboard

Whether the registration verified.