LicenseCredentialValidation
Public fail-closed online credential validation.
Declaration
Section titled “Declaration”const LicenseCredentialValidation: Schema.toTaggedUnion<"status", readonly [Schema.Struct<{ status: Schema.Literal<"valid">; credential: Schema.Struct<{ licenseId: Schema.brand<Schema.String, "LicenseId">; entitlement: Schema.brand<Schema.String, "EntitlementKey">; activationLimit: Schema.Int; issuedAt: Schema.brand<Schema.Int, "EpochMilliseconds">; }>; activation: Schema.Struct<{ id: Schema.brand<Schema.String, "LicenseActivationId">; licenseId: Schema.brand<Schema.String, "LicenseId">; activatedAt: Schema.brand<Schema.Int, "EpochMilliseconds">; }>;}>, Schema.Struct<{ status: Schema.Literal<"invalid">; reason: Schema.Literals<readonly ["unknown_credential", "activation_not_found", "activation_deactivated", "credential_revoked", "payment_not_settled", "entitlement_inactive"]>;}>]>;