Options
All
  • Public
  • Public/Protected
  • All
Menu

JWK processing middleware.

export
class

JWK

extends

{Middleware}

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • new JWK(jwks: any[]): JWK
  • Creates an instance of JWK.

    throws

    {InternalError}

    memberof

    JWK

    Parameters

    • jwks: any[]

    Returns JWK

Properties

keys

keys: any[]

A list of JWKs in JSON used for token verification.

type

{object[]}

memberof

JWK

Methods

processRequest

  • Extracts and verifies the JWT from the Authorization header.

    Parameters

    Returns Promise<void>

processResponse

  • Processes a request and response object after they are handled.

    Parameters

    Returns Promise<any>

Generated using TypeDoc