Package app.kntrl.client.openapi.model
Enum AccessTokenCfg.CacheEnum
- java.lang.Object
-
- java.lang.Enum<AccessTokenCfg.CacheEnum>
-
- app.kntrl.client.openapi.model.AccessTokenCfg.CacheEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AccessTokenCfg.CacheEnum>
- Enclosing class:
- AccessTokenCfg
public static enum AccessTokenCfg.CacheEnum extends java.lang.Enum<AccessTokenCfg.CacheEnum>
If not null - access token contains signed session data, so it's not required to request session database for access check.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccessTokenCfg.CacheEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccessTokenCfg.CacheEnumfromValue(java.lang.String value)java.lang.StringgetValue()java.lang.StringtoString()static AccessTokenCfg.CacheEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AccessTokenCfg.CacheEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JWT
public static final AccessTokenCfg.CacheEnum JWT
-
BINARY
public static final AccessTokenCfg.CacheEnum BINARY
-
-
Method Detail
-
values
public static AccessTokenCfg.CacheEnum[] 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 (AccessTokenCfg.CacheEnum c : AccessTokenCfg.CacheEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessTokenCfg.CacheEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<AccessTokenCfg.CacheEnum>
-
fromValue
public static AccessTokenCfg.CacheEnum fromValue(java.lang.String value)
-
-