oc · docs
docs / documentation

@orangecheck/auth-core


@orangecheck/auth-core / VerifyOcOptions

Interface: VerifyOcOptions

Defined in: index.ts:685

Properties

PropertyTypeDescriptionDefined in
<a id="property-audience"></a> audience?AudienceRuleAccepted 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?stringAuth host issuer. Defaults to https://ochk.io.index.ts:687
<a id="property-jwkscachettlms"></a> jwksCacheTtlMs?numberJWKS 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