Enum ApplicationDTO.TokenTypeEnum
- java.lang.Object
-
- java.lang.Enum<ApplicationDTO.TokenTypeEnum>
-
- org.wso2.am.integration.clients.store.api.v1.dto.ApplicationDTO.TokenTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ApplicationDTO.TokenTypeEnum>
- Enclosing class:
- ApplicationDTO
public static enum ApplicationDTO.TokenTypeEnum extends Enum<ApplicationDTO.TokenTypeEnum>
Type of the access token generated for this application. **OAUTH:** A UUID based access token **JWT:** A self-contained, signed JWT based access token which is issued by default.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplicationDTO.TokenTypeEnum.Adapter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationDTO.TokenTypeEnumfromValue(String value)StringgetValue()StringtoString()static ApplicationDTO.TokenTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ApplicationDTO.TokenTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OAUTH
public static final ApplicationDTO.TokenTypeEnum OAUTH
-
JWT
public static final ApplicationDTO.TokenTypeEnum JWT
-
-
Method Detail
-
values
public static ApplicationDTO.TokenTypeEnum[] 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 (ApplicationDTO.TokenTypeEnum c : ApplicationDTO.TokenTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApplicationDTO.TokenTypeEnum 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()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ApplicationDTO.TokenTypeEnum>
-
fromValue
public static ApplicationDTO.TokenTypeEnum fromValue(String value)
-
-