Enum OIDCGrantType
- java.lang.Object
-
- java.lang.Enum<OIDCGrantType>
-
- org.apache.syncope.common.lib.types.OIDCGrantType
-
- All Implemented Interfaces:
Serializable
,Comparable<OIDCGrantType>
public enum OIDCGrantType extends Enum<OIDCGrantType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description authorization_code
client_credentials
device_code
password
refresh_token
uma_ticket
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExternalForm()
static OIDCGrantType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OIDCGrantType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
authorization_code
public static final OIDCGrantType authorization_code
-
password
public static final OIDCGrantType password
-
client_credentials
public static final OIDCGrantType client_credentials
-
refresh_token
public static final OIDCGrantType refresh_token
-
device_code
public static final OIDCGrantType device_code
-
uma_ticket
public static final OIDCGrantType uma_ticket
-
-
Method Detail
-
values
public static OIDCGrantType[] 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 (OIDCGrantType c : OIDCGrantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OIDCGrantType 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
-
getExternalForm
public String getExternalForm()
-
-