Package com.auth0.jwt

Class RegisteredClaims


  • public final class RegisteredClaims
    extends java.lang.Object
    Contains constants representing the name of the Registered Claim Names as defined in Section 4.1 of RFC 7529
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AUDIENCE
      The "aud" (audience) claim identifies the recipients that the JWT is intended for.
      static java.lang.String EXPIRES_AT
      The "exp" (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing.
      static java.lang.String ISSUED_AT
      The "iat" (issued at) claim identifies the time at which the JWT was issued.
      static java.lang.String ISSUER
      The "iss" (issuer) claim identifies the principal that issued the JWT.
      static java.lang.String JWT_ID
      The "jti" (JWT ID) claim provides a unique identifier for the JWT.
      static java.lang.String NOT_BEFORE
      The "nbf" (not before) claim identifies the time before which the JWT MUST NOT be accepted for processing.
      static java.lang.String SUBJECT
      The "sub" (subject) claim identifies the principal that is the subject of the JWT.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • ISSUER

        public static final java.lang.String ISSUER
        The "iss" (issuer) claim identifies the principal that issued the JWT. Refer RFC 7529 Section 4.1.1
        See Also:
        Constant Field Values
      • SUBJECT

        public static final java.lang.String SUBJECT
        The "sub" (subject) claim identifies the principal that is the subject of the JWT. Refer RFC 7529 Section 4.1.2
        See Also:
        Constant Field Values
      • AUDIENCE

        public static final java.lang.String AUDIENCE
        The "aud" (audience) claim identifies the recipients that the JWT is intended for. Refer RFC 7529 Section 4.1.3
        See Also:
        Constant Field Values
      • EXPIRES_AT

        public static final java.lang.String EXPIRES_AT
        The "exp" (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing. Refer RFC 7529 Section 4.1.4
        See Also:
        Constant Field Values
      • NOT_BEFORE

        public static final java.lang.String NOT_BEFORE
        The "nbf" (not before) claim identifies the time before which the JWT MUST NOT be accepted for processing. Refer RFC 7529 Section 4.1.5
        See Also:
        Constant Field Values
      • ISSUED_AT

        public static final java.lang.String ISSUED_AT
        The "iat" (issued at) claim identifies the time at which the JWT was issued. Refer RFC 7529 Section 4.1.6
        See Also:
        Constant Field Values
      • JWT_ID

        public static final java.lang.String JWT_ID
        The "jti" (JWT ID) claim provides a unique identifier for the JWT. Refer RFC 7529 Section 4.1.7
        See Also:
        Constant Field Values