Type Alias: RevokeTokenResult
type RevokeTokenResult =
| {
ok: true;
revoked: number;
}
| {
ok: false;
reason: RevokeTokenRefusal;
status: number;
};
Defined in: me-client/src/tokens.ts:95 (opens in a new tab)
revoked counts the tokens ochk.io ended: 0 when it could not read one as
its own (expired already, or signed elsewhere). A refusal's status is
ochk.io's HTTP status, 0 when nothing came back.