public static enum JwtClaims.Claim extends Enum<JwtClaims.Claim>
| Enum Constant and Description |
|---|
AUDIENCE |
EXPIRY |
ISSUED_AT |
ISSUER |
JWT_ID |
NOT_BEFORE |
SUBJECT |
| Modifier and Type | Method and Description |
|---|---|
String |
key() |
static JwtClaims.Claim |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JwtClaims.Claim[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JwtClaims.Claim ISSUER
public static final JwtClaims.Claim SUBJECT
public static final JwtClaims.Claim AUDIENCE
public static final JwtClaims.Claim EXPIRY
public static final JwtClaims.Claim NOT_BEFORE
public static final JwtClaims.Claim ISSUED_AT
public static final JwtClaims.Claim JWT_ID
public static JwtClaims.Claim[] values()
for (JwtClaims.Claim c : JwtClaims.Claim.values()) System.out.println(c);
public static JwtClaims.Claim valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String key()
Copyright © 2016 Atlassian. All rights reserved.