クラス NimbusJwtDecoder.JwkSourceJwtDecoderBuilder
java.lang.ObjectSE
org.springframework.security.oauth2.jwt.NimbusJwtDecoder.JwkSourceJwtDecoderBuilder
- 含まれているクラス:
- NimbusJwtDecoder
JWKSource に基づいて NimbusJwtDecoder インスタンスを作成するためのビルダー。- 導入:
- 7.0
方法の概要
修飾子と型メソッド説明build()構成されたNimbusJwtDecoderをビルドします。jwsAlgorithm(SignatureAlgorithm signatureAlgorithm) 指定された署名アルゴリズムを、使用するアルゴリズムのセットに追加します。jwsAlgorithms(ConsumerSE<SetSE<SignatureAlgorithm>> signatureAlgorithmsConsumer) 指定されたConsumerSE で使用するアルゴリズムのリストを構成します。jwtProcessorCustomizer(ConsumerSE<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.SecurityContext>> jwtProcessorCustomizer)
メソッドの詳細
jwsAlgorithm
public NimbusJwtDecoder.JwkSourceJwtDecoderBuilder jwsAlgorithm(SignatureAlgorithm signatureAlgorithm) 指定された署名アルゴリズムを、使用するアルゴリズムのセットに追加します。- パラメーター:
signatureAlgorithm- 使用するアルゴリズム- 戻り値:
- さらなる構成のための
NimbusJwtDecoder.JwkSourceJwtDecoderBuilder
jwsAlgorithms
public NimbusJwtDecoder.JwkSourceJwtDecoderBuilder jwsAlgorithms(ConsumerSE<SetSE<SignatureAlgorithm>> signatureAlgorithmsConsumer) 指定されたConsumerSE で使用するアルゴリズムのリストを構成します。- パラメーター:
signatureAlgorithmsConsumer- アルゴリズムリストをさらに構成するためのConsumerSE- 戻り値:
- さらなる構成のための
NimbusJwtDecoder.JwkSourceJwtDecoderBuilder
jwtProcessorCustomizer
public NimbusJwtDecoder.JwkSourceJwtDecoderBuilder jwtProcessorCustomizer(ConsumerSE<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.SecurityContext>> jwtProcessorCustomizer) - パラメーター:
jwtProcessorCustomizer- プロセッサーを変更するために使用されるコールバック- 戻り値:
- さらなる構成のための
NimbusJwtDecoder.JwkSourceJwtDecoderBuilder - 導入:
- 5.4
build
構成されたNimbusJwtDecoderをビルドします。- 戻り値:
- 設定された
NimbusJwtDecoder