Class SupplierJwtDecoder
java.lang.Object
org.springframework.security.oauth2.jwt.SupplierJwtDecoder
- All Implemented Interfaces:
JwtDecoder
A
JwtDecoder
that lazily initializes another JwtDecoder
- Since:
- 5.6
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SupplierJwtDecoder
-
-
Method Details
-
decode
Decodes the JWT from it's compact claims representation format and returns aJwt
.- Specified by:
decode
in interfaceJwtDecoder
- Parameters:
token
- the JWT value- Returns:
- a
Jwt
- Throws:
JwtException
- if an error occurs while attempting to decode the JWT
-