Package com.bastiaanjansen.jwt
Enum Claims.Registered
- java.lang.Object
-
- java.lang.Enum<Claims.Registered>
-
- com.bastiaanjansen.jwt.Claims.Registered
-
- All Implemented Interfaces:
Serializable,Comparable<Claims.Registered>
- Enclosing class:
- Claims
public static enum Claims.Registered extends Enum<Claims.Registered>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALGORITHMAUDIENCECONTENT_TYPEEXPIRATION_TIMEISSUED_ATISSUERJWT_IDNOT_BEFORESUBJECTTYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static Claims.RegisteredvalueOf(String name)Returns the enum constant of this type with the specified name.static Claims.Registered[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ISSUER
public static final Claims.Registered ISSUER
-
SUBJECT
public static final Claims.Registered SUBJECT
-
AUDIENCE
public static final Claims.Registered AUDIENCE
-
EXPIRATION_TIME
public static final Claims.Registered EXPIRATION_TIME
-
NOT_BEFORE
public static final Claims.Registered NOT_BEFORE
-
ISSUED_AT
public static final Claims.Registered ISSUED_AT
-
JWT_ID
public static final Claims.Registered JWT_ID
-
TYPE
public static final Claims.Registered TYPE
-
CONTENT_TYPE
public static final Claims.Registered CONTENT_TYPE
-
ALGORITHM
public static final Claims.Registered ALGORITHM
-
-
Method Detail
-
values
public static Claims.Registered[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Claims.Registered c : Claims.Registered.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Claims.Registered valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
-