Class JsonWebToken

  • Direct Known Subclasses:
    JsonWebSignature

    public class JsonWebToken
    extends Object
    JSON Web Token (JWT).

    Implementation is not thread-safe.

    Since:
    1.14 (since 1.7 as com.google.api.client.auth.jsontoken.JsonWebToken)
    Author:
    Yaniv Inbar
    • Method Detail

      • getHeader

        public JsonWebToken.Header getHeader()
        Returns the header.

        Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.

      • getPayload

        public JsonWebToken.Payload getPayload()
        Returns the payload.

        Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.