Interface JwtDecoder
- All Known Implementing Classes:
DefaultJwtDecoder, SupplierJwtDecoder
public interface JwtDecoder
Verifies a token and reads its claims.
An application that wants its resource server to verify tokens its own way
declares a bean of this type; see
OAuth2ResourceServerConfigurer.
-
Method Summary
-
Method Details
-
decode
The token, once its signature has verified and its claims have passed the decoder's validators.
BadJwtException: when the token is not acceptable, with whyJwtException: when it could not be judged at all
-