Interface: RevocationCheck
Defined in: revocation.ts:29 (opens in a new tab)
MethodsLink to this section
refuses()Link to this section
refuses(claims: RevocableClaims, method?: string): Promise<boolean>;Defined in: revocation.ts:36 (opens in a new tab)
Whether to refuse the session for a request with this method: always when revoked, and for an unsafe method (or none given) when unverified. Reads keep working through an outage of the auth host; writes stop.
ParametersLink to this section
| Parameter | Type |
|---|---|
claims | RevocableClaims |
method? | string |
ReturnsLink to this section
Promise<boolean>
status()Link to this section
status(claims: RevocableClaims): Promise<RevocationStatus>;Defined in: revocation.ts:30 (opens in a new tab)
ParametersLink to this section
| Parameter | Type |
|---|---|
claims | RevocableClaims |
ReturnsLink to this section
Promise<RevocationStatus>