Class JwtDecoder


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

      Constructors 
      Constructor Description
      JwtDecoder()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.Object> decode​(java.lang.String jwt)
      Decodes a JSON Web Token (JWT) into a Map of claims.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JwtDecoder

        public JwtDecoder()
    • Method Detail

      • decode

        public static java.util.Map<java.lang.String,​java.lang.Object> decode​(java.lang.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.