Function: checkOcToken()
function checkOcToken(token: string, options?: VerifyOcOptions): Promise<OcTokenCheck>;
Defined in: index.ts:847 (opens in a new tab)
verifyOcToken, telling "invalid" from "can't tell right now" (see OcTokenCheck). Throws on an option it does not read, or an issuer it may not fetch from.
ParametersLink to this section
| Parameter | Type |
|---|---|
token | string |
options | VerifyOcOptions |
ReturnsLink to this section
Promise<OcTokenCheck>