Class JwtClaimNames

java.lang.Object
org.springframework.security.oauth2.jwt.JwtClaimNames

public final class JwtClaimNames extends Object
The Registered Claim Names defined by the JSON Web Token (JWT) specification that may be contained in the JSON object JWT Claims Set.
Since:
5.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    aud - the Audience claim identifies the recipient(s) that the JWT is intended for
    static final String
    exp - the Expiration time claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing
    static final String
    iat - The Issued at claim identifies the time at which the JWT was issued
    static final String
    iss - the Issuer claim identifies the principal that issued the JWT
    static final String
    jti - The JWT ID claim provides a unique identifier for the JWT
    static final String
    nbf - the Not Before claim identifies the time before which the JWT MUST NOT be accepted for processing
    static final String
    sub - the 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

    • ISS

      public static final String ISS
      iss - the Issuer claim identifies the principal that issued the JWT
      See Also:
    • SUB

      public static final String SUB
      sub - the Subject claim identifies the principal that is the subject of the JWT
      See Also:
    • AUD

      public static final String AUD
      aud - the Audience claim identifies the recipient(s) that the JWT is intended for
      See Also:
    • EXP

      public static final String EXP
      exp - the Expiration time claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing
      See Also:
    • NBF

      public static final String NBF
      nbf - the Not Before claim identifies the time before which the JWT MUST NOT be accepted for processing
      See Also:
    • IAT

      public static final String IAT
      iat - The Issued at claim identifies the time at which the JWT was issued
      See Also:
    • JTI

      public static final String JTI
      jti - The JWT ID claim provides a unique identifier for the JWT
      See Also: