Skip to content

Interface: RevocationCheck

Defined in: revocation.ts:29 (opens in a new tab)

MethodsLink to this section

refuses()Link to this section

TypeScript
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

ParameterType
claimsRevocableClaims
method?string

ReturnsLink to this section

Promise<boolean>


status()Link to this section

TypeScript
status(claims: RevocableClaims): Promise<RevocationStatus>;

Defined in: revocation.ts:30 (opens in a new tab)

ParametersLink to this section

ParameterType
claimsRevocableClaims

ReturnsLink to this section

Promise<RevocationStatus>