Skip to main content

Type Alias: BearerAuthJwtConfig

type BearerAuthJwtConfig = {
  jwtVerify?: JWTVerifyOptions;
  remoteJwkSet?: RemoteJWKSetOptions;
};

Configuration for the Bearer auth handler when using JWT verification.

Properties

jwtVerify?

optional jwtVerify: JWTVerifyOptions;

Options to pass to the jose library's jwtVerify function.

See

JWTVerifyOptions for the type definition of the options.


remoteJwkSet?

optional remoteJwkSet: RemoteJWKSetOptions;

Options to pass to the jose library's createRemoteJWKSet function.

See

RemoteJWKSetOptions for the type definition of the options.