Interface DecodedJWT

  • All Superinterfaces:
    Header, Payload

    public interface DecodedJWT
    extends Payload, Header
    Class that represents a Json Web Token that was decoded from it's string representation.
    • Method Detail

      • getToken

        String getToken()
        Getter for the String Token used to create this JWT instance.
        Returns:
        the String Token.
      • getHeader

        String getHeader()
        Getter for the Header contained in the JWT as a Base64 encoded String. This represents the first part of the token.
        Returns:
        the Header of the JWT.
      • getPayload

        String getPayload()
        Getter for the Payload contained in the JWT as a Base64 encoded String. This represents the second part of the token.
        Returns:
        the Payload of the JWT.
      • getSignature

        String getSignature()
        Getter for the Signature contained in the JWT as a Base64 encoded String. This represents the third part of the token.
        Returns:
        the Signature of the JWT.