Class CWTClaims

java.lang.Object
com.authlete.cwt.constants.CWTClaims

public class CWTClaims extends Object
CWT Claims
Claim Name Claim Key Claim Value Type Claim Description
iss 1 text string Issuer
sub 2 text string Subject
aud 3 text string Audience
exp 4 integer or floating-point number Expiration Time
nbf 5 integer or floating-point number Not Before
iat 6 integer or floating-point number Issued At
cti 7 byte string CWT ID
cnf 8 map Confirmation
scope 9 byte string or text string The scope of an access token, as defined in [RFC6749].
Nonce 10 byte string Nonce (TEMPORARY - registered 2022-03-23, extension registered 2023-02-13, expires 2024-03-23)
Since:
1.4
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    aud (3); Audience
    static final int
    cnf (8); Confirmation
    static final int
    cti (7); CWT ID
    static final int
    exp (4); Expiration Time
    static final int
    iat (6); Issued At
    static final int
    iss (1); Issuer
    static final int
    nbf (5); Not Before
    static final int
    Nonce (10); Nonce
    static final int
    scope (9); The scope of an access token, as defined in [RFC6749].
    static final int
    sub (2); Subject
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait