ApprovalStatus

sealed class ApprovalStatus

Lifecycle status of an approval request, distinct from the action verb. State machine: PENDING (awaiting a decision) -> APPROVED (the action was APPROVED; redeemable until revoked or fully redeemed) or REJECTED (the action was REJECTED; terminal). APPROVED -> REDEEMED (consumed by a credential mint at least once; non-single-use approvals stay re-redeemable until expiry) or REVOKED (administratively invalidated; terminal).

Inheritors

Types

Link copied to clipboard

The action was APPROVED; the approval request is live and may be redeemed via a credential mint until it is revoked or fully redeemed.

Link copied to clipboard
object Companion
Link copied to clipboard

The approval request is awaiting a decision.

Link copied to clipboard

The approval was consumed by a credential mint at least once. Non-single-use approvals stay re-redeemable until expiry; single-use approvals are terminal.

Link copied to clipboard

The action was REJECTED; no further redemption is possible.

Link copied to clipboard

The approval was administratively invalidated; no further redemption is possible.

Link copied to clipboard
data class SdkUnknown(val value: String) : ApprovalStatus

Properties

Link copied to clipboard
abstract val value: String