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

    Modifier and Type
    Method
    Description
    decode(String token)
    The token, once its signature has verified and its claims have passed the decoder's validators.
  • Method Details

    • decode

      Jwt decode(String token)

      The token, once its signature has verified and its claims have passed the decoder's validators.