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 bstr or array Nonce
status_list 65533 map A CBOR structure containing up-to-date status information on multiple tokens using the Token Status List mechanism.
ttl 65534 unsigned integer Time to Live
status 65535 map A CBOR structure containing a reference to a status mechanism from the CWT Status Mechanisms Registry.
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
    status (65535); A CBOR structure containing a reference to a status mechanism from the CWT Status Mechanisms Registry.
    static final int
    status_list (65533); A CBOR structure containing up-to-date status information on multiple tokens using the Token Status List mechanism.
    static final int
    sub (2); Subject
    static final int
    ttl (65534); Time to Live
  • Method Summary

    Methods inherited from class java.lang.Object

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