Skip to content

JwksRequestInit ​

JwksRequestInit ​

The request JwksTransport must issue.

ts
interface JwksRequestInit {
	readonly method: "GET";
	readonly redirect: "manual";
	readonly credentials: "omit";
	readonly cache: "no-store";
	readonly headers: Readonly<Record<string, string>>;
	readonly signal: AbortSignal;
}

Properties

  • readonly method: "GET" — Always GET.
  • readonly redirect: "manual" — Always manual: the resolver validates every redirect destination itself.
  • readonly credentials: "omit" — Always omit.
  • readonly cache: "no-store" — Always no-store: each resolver refresh must reach the issuer, bypassing the HTTP cache.
  • readonly headers: Readonly<Record<string, string>> — Configured request headers. Withheld from any origin other than the configured URL's.
  • readonly signal: AbortSignal — Aborts on timeout, cancellation or when no verification still waits for the response.

Released under the MIT License.