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