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