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