Class CWTClaims
java.lang.Object
com.authlete.cwt.constants.CWTClaims
CWT Claims
Claim Name Claim Key Claim Value Type Claim Description iss1 text string Issuer sub2 text string Subject aud3 text string Audience exp4 integer or floating-point number Expiration Time nbf5 integer or floating-point number Not Before iat6 integer or floating-point number Issued At cti7 byte string CWT ID cnf8 map Confirmation scope9 byte string or text string The scope of an access token, as defined in [RFC6749]. Nonce10 bstr or array Nonce status_list65533 map A CBOR structure containing up-to-date status information on multiple tokens using the Token Status List mechanism. ttl65534 unsigned integer Time to Live status65535 map A CBOR structure containing a reference to a status mechanism from the CWT Status Mechanisms Registry.
- Since:
- 1.4
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intaud (3); Audiencestatic final intcnf (8); Confirmationstatic final intcti (7); CWT IDstatic final intexp (4); Expiration Timestatic final intiat (6); Issued Atstatic final intiss (1); Issuerstatic final intnbf (5); Not Beforestatic final intNonce (10); Noncestatic final intscope (9); The scope of an access token, as defined in [RFC6749].static final intstatus (65535); A CBOR structure containing a reference to a status mechanism from the CWT Status Mechanisms Registry.static final intstatus_list (65533); A CBOR structure containing up-to-date status information on multiple tokens using the Token Status List mechanism.static final intsub (2); Subjectstatic final intttl (65534); Time to Live -
Method Summary
-
Field Details
-
ISS
public static final int ISSiss (1); Issuer- See Also:
-
SUB
public static final int SUBsub (2); Subject- See Also:
-
AUD
public static final int AUDaud (3); Audience- See Also:
-
EXP
public static final int EXPexp (4); Expiration Time- See Also:
-
NBF
public static final int NBFnbf (5); Not Before- See Also:
-
IAT
public static final int IATiat (6); Issued At- See Also:
-
CTI
public static final int CTIcti (7); CWT ID- See Also:
-
CNF
public static final int CNFcnf (8); Confirmation- See Also:
-
SCOPE
public static final int SCOPEscope (9); The scope of an access token, as defined in [RFC6749].- See Also:
-
NONCE
public static final int NONCENonce (10); Nonce- See Also:
-
STATUS_LIST
public static final int STATUS_LISTstatus_list (65533); A CBOR structure containing up-to-date status information on multiple tokens using the Token Status List mechanism.- Since:
- 1.21
- See Also:
-
TTL
public static final int TTLttl (65534); Time to Live- Since:
- 1.21
- See Also:
-
STATUS
public static final int STATUSstatus (65535); A CBOR structure containing a reference to a status mechanism from the CWT Status Mechanisms Registry.- Since:
- 1.21
- See Also:
-