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