Enum Class CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType
java.lang.Object
java.lang.Enum<CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType>
com.denodo.vdb.engine.customwrapper.input.value.CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType
- All Implemented Interfaces:
Serializable
,Comparable<CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType>
,Constable
- Enclosing class:
- CustomWrapperInputParameterOAuth20Authentication
public static enum CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType
extends Enum<CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType>
OAuth 2.0 Grant Type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClient Credentials Grant.Authorization Code Grant.Resource Owner Password Credentials Grant. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CODE
Authorization Code Grant. -
PASSWORD
public static final CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType PASSWORDResource Owner Password Credentials Grant. -
CLIENT_CREDENTIALS
public static final CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType CLIENT_CREDENTIALSClient Credentials Grant.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static CustomWrapperInputParameterOAuth20Authentication.AuthenticationGrantType valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-