クラス 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) 指定されたConsumerSE で使用するアルゴリズムのリストを構成します。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) 指定されたConsumerSE で使用するアルゴリズムのリストを構成します。- パラメーター:
signatureAlgorithmsConsumer- アルゴリズムリストをさらに構成するためのConsumerSE- 戻り値:
- さらなる構成のための
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