クラス NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
- java.lang.Object
-
- org.springframework.security.oauth2.jwt.NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
- 含まれているクラス:
- NimbusReactiveJwtDecoder
public static final class NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder extends java.lang.ObjectSecretKeyに基づいてNimbusReactiveJwtDecoderインスタンスを作成するためのビルダー。- 導入:
- 5.2
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 NimbusReactiveJwtDecoderbuild()構成されたNimbusReactiveJwtDecoderをビルドします。NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilderjwtProcessorCustomizer(java.util.function.Consumer<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.SecurityContext>> jwtProcessorCustomizer)NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuildermacAlgorithm(MacAlgorithm macAlgorithm)MAC を生成するときは、指定されたアルゴリズムを使用してください。
メソッドの詳細
macAlgorithm
public NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder macAlgorithm(MacAlgorithm macAlgorithm)
MAC を生成するときは、指定されたアルゴリズムを使用してください。値は HS256、HS384 または HS512 のいずれかである必要があります。- パラメーター:
macAlgorithm- 使用する MAC アルゴリズム- 戻り値:
- さらなる構成のための
NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder
jwtProcessorCustomizer
public NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder jwtProcessorCustomizer(java.util.function.Consumer<com.nimbusds.jwt.proc.ConfigurableJWTProcessor<com.nimbusds.jose.proc.SecurityContext>> jwtProcessorCustomizer)
- パラメーター:
jwtProcessorCustomizer- プロセッサーを変更するために使用されるコールバック- 戻り値:
- さらなる構成のための
NimbusReactiveJwtDecoder.SecretKeyReactiveJwtDecoderBuilder - 導入:
- 5.4
build
public NimbusReactiveJwtDecoder build()
構成されたNimbusReactiveJwtDecoderをビルドします。- 戻り値:
- 設定された
NimbusReactiveJwtDecoder