Skip to content

JwsKeyRequest ​

JwsKeyRequest ​

What a key resolver is asked for. The header is unauthenticated.

ts
interface JwsKeyRequest {
	readonly header: JwsHeader<JwsAlgorithm>;
	readonly algorithm: JwsAlgorithm;
	readonly kid?: string;
	readonly signal?: AbortSignal;
}

Properties

  • readonly header: JwsHeader<JwsAlgorithm> — The unauthenticated header of the token being verified.
  • readonly algorithm: JwsAlgorithm — The algorithm the policy admitted for this token.
  • readonly kid?: string — The kid header, when present.
  • readonly signal?: AbortSignal — Cancellation from VerifyJwsOptions.signal.

Released under the MIT License.