Function: revocationKey()
function revocationKey(kind: "jti" | "sub", value: string): Promise<string>;Defined in: revocation.ts:83 (opens in a new tab)
The feed key for a token (kind: "jti") or an account (kind: "sub"):
base64url of the first 16 bytes of sha256(ocrev1:<kind>:<value>). The
auth host derives the same; its tests share these vectors.
ParametersLink to this section
| Parameter | Type |
|---|---|
kind | "jti" | "sub" |
value | string |
ReturnsLink to this section
Promise<string>