Class JwtDecoder

java.lang.Object
org.eclipse.jetty.security.openid.JwtDecoder

public class JwtDecoder extends Object
Used to decode the ID Token from the base64 encrypted JSON Web Token (JWT).
  • Constructor Details

    • JwtDecoder

      public JwtDecoder()
  • Method Details

    • decode

      public static Map<String,Object> decode(String jwt)
      Decodes a JSON Web Token (JWT) into a Map of claims.
      Parameters:
      jwt - the JWT to decode.
      Returns:
      the map of claims encoded in the JWT.