クラス SupplierJwtDecoder
- java.lang.Object
-
- org.springframework.security.oauth2.jwt.SupplierJwtDecoder
- 実装済みのインターフェース一覧:
JwtDecoder
public final class SupplierJwtDecoder extends java.lang.Object implements JwtDecoder
別のJwtDecoderを遅延初期化するJwtDecoder- 導入:
- 5.6
コンストラクター概要
コンストラクター コンストラクター 説明 SupplierJwtDecoder(java.util.function.Supplier<JwtDecoder> jwtDecoderSupplier)
方法の概要
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 Jwtdecode(java.lang.String token)JWT をそのコンパクトなクレーム表現形式からデコードし、Jwtを返します。
コンストラクターの詳細
SupplierJwtDecoder
public SupplierJwtDecoder(java.util.function.Supplier<JwtDecoder> jwtDecoderSupplier)
メソッドの詳細
decode
public Jwt decode(java.lang.String token) throws JwtException
JWT をそのコンパクトなクレーム表現形式からデコードし、Jwtを返します。- 次で指定:
- インターフェース
JwtDecoder内のdecode - パラメーター:
token- JWT 値- 戻り値:
Jwt- 例外:
JwtException- JWT のデコード中にエラーが発生した場合