メインコンテンツにスキップ

型エイリアス: BearerAuthJwtConfig

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

JWT 検証を使用する場合の Bearer 認証ハンドラーの設定。

プロパティ​

jwtVerify?​

optional jwtVerify: JWTVerifyOptions;

jose ライブラリの jwtVerify 関数に渡すオプション。

参照​

JWTVerifyOptions の型定義を参照してください。


remoteJwkSet?​

optional remoteJwkSet: RemoteJWKSetOptions;

jose ライブラリの createRemoteJWKSet 関数に渡すオプション。

参照​

RemoteJWKSetOptions の型定義を参照してください。