Function: refusesEvenReads()
function refusesEvenReads(claims: RevocableClaims, check?: RevocationCheck): Promise<false | "revoked" | "unverified">;
Defined in: revocation.ts:452 (opens in a new tab)
For a site that holds a person's data (an account, money, messages,
secrets): whether to refuse the session for any request, reads included.
"revoked" when the list ends it; "unverified" when no copy of the list is
fresh enough to vouch for it, which passes once the auth host answers again
(answer 503 and ask the person to try again, never "signed out"); false
when it may go on. Uses the process-wide check unless given one.
ParametersLink to this section
| Parameter | Type |
|---|---|
claims | RevocableClaims |
check | RevocationCheck |
ReturnsLink to this section
Promise<false | "revoked" | "unverified">