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