クラス NimbusJwtDecoder.PublicKeyJwtDecoderBuilder
- java.lang.Object
-
- org.springframework.security.oauth2.jwt.NimbusJwtDecoder.PublicKeyJwtDecoderBuilder
- 含まれているクラス:
- NimbusJwtDecoder
public static final class NimbusJwtDecoder.PublicKeyJwtDecoderBuilder extends java.lang.Object公開鍵に基づいてNimbusJwtDecoderインスタンスを作成するためのビルダー。
方法の概要
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 NimbusJwtDecoderbuild()構成されたNimbusJwtDecoderをビルドします。NimbusJwtDecoder.PublicKeyJwtDecoderBuilderjwtProcessorCustomizer(java.util.function.Consumer<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.SecurityContext>> jwtProcessorCustomizer)NimbusJwtDecoder.PublicKeyJwtDecoderBuildersignatureAlgorithm(SignatureAlgorithm signatureAlgorithm)指定された署名アルゴリズムを使用します。
メソッドの詳細
signatureAlgorithm
public NimbusJwtDecoder.PublicKeyJwtDecoderBuilder signatureAlgorithm(SignatureAlgorithm signatureAlgorithm)
指定された署名アルゴリズムを使用します。値は RS256、RS384、RS512 のいずれかである必要があります。- パラメーター:
signatureAlgorithm- 使用するアルゴリズム- 戻り値:
- さらなる構成のための
NimbusJwtDecoder.PublicKeyJwtDecoderBuilder
jwtProcessorCustomizer
public NimbusJwtDecoder.PublicKeyJwtDecoderBuilder jwtProcessorCustomizer(java.util.function.Consumer<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.SecurityContext>> jwtProcessorCustomizer)
- パラメーター:
jwtProcessorCustomizer- プロセッサーを変更するために使用されるコールバック- 戻り値:
- さらなる構成のための
NimbusJwtDecoder.PublicKeyJwtDecoderBuilder - 導入:
- 5.4
build
public NimbusJwtDecoder build()
構成されたNimbusJwtDecoderをビルドします。- 戻り値:
- 設定された
NimbusJwtDecoder