@orangecheck/auth-core / VerifyOcOptions
Interface: VerifyOcOptions
Defined in: index.ts:685
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-audience"></a> audience? | AudienceRule | Accepted aud · see AudienceRule. An integrator verifying tokens from the sign-in popup sets this to its own origin, e.g. "https://example.com", so a token issued to another site is refused. | index.ts:694 |
<a id="property-issuer"></a> issuer? | string | Auth host issuer. Defaults to https://ochk.io. | index.ts:687 |
<a id="property-jwkscachettlms"></a> jwksCacheTtlMs? | number | JWKS cache TTL in ms. Defaults to 1 hour. Stale-on-error: if the cache exists, verification still works during a transient outage. | index.ts:690 |