Package com.auth0.jwt

Class RegisteredClaims

java.lang.Object
com.auth0.jwt.RegisteredClaims

public final class RegisteredClaims extends 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 String
    The "aud" (audience) claim identifies the recipients that the JWT is intended for.
    static String
    The "exp" (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing.
    static String
    The "iat" (issued at) claim identifies the time at which the JWT was issued.
    static String
    The "iss" (issuer) claim identifies the principal that issued the JWT.
    static String
    The "jti" (JWT ID) claim provides a unique identifier for the JWT.
    static String
    The "nbf" (not before) claim identifies the time before which the JWT MUST NOT be accepted for processing.
    static String
    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 Details

    • ISSUER

      public static String ISSUER
      The "iss" (issuer) claim identifies the principal that issued the JWT. Refer RFC 7529 Section 4.1.1
    • SUBJECT

      public static String SUBJECT
      The "sub" (subject) claim identifies the principal that is the subject of the JWT. Refer RFC 7529 Section 4.1.2
    • AUDIENCE

      public static String AUDIENCE
      The "aud" (audience) claim identifies the recipients that the JWT is intended for. Refer RFC 7529 Section 4.1.3
    • EXPIRES_AT

      public static 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
    • NOT_BEFORE

      public static 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
    • ISSUED_AT

      public static String ISSUED_AT
      The "iat" (issued at) claim identifies the time at which the JWT was issued. Refer RFC 7529 Section 4.1.6
    • JWT_ID

      public static String JWT_ID
      The "jti" (JWT ID) claim provides a unique identifier for the JWT. Refer RFC 7529 Section 4.1.7