Package org.sourceid.saml20.adapter.gui
Enum OAuthClientSelectionFieldDescriptor.GrantType
- java.lang.Object
-
- java.lang.Enum<OAuthClientSelectionFieldDescriptor.GrantType>
-
- org.sourceid.saml20.adapter.gui.OAuthClientSelectionFieldDescriptor.GrantType
-
- All Implemented Interfaces:
Serializable,Comparable<OAuthClientSelectionFieldDescriptor.GrantType>
- Enclosing class:
- OAuthClientSelectionFieldDescriptor
public static enum OAuthClientSelectionFieldDescriptor.GrantType extends Enum<OAuthClientSelectionFieldDescriptor.GrantType>
Used in the constructor of OAuthClientSelectionFieldDescriptor to specify grant type requirement of OAuth clients that are searchable in the resulting filterable drop-down menu.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORIZATION_CODECLIENT_CREDENTIALSDEVICE_CODEEXTENSIONIMPLICITPING_VALIDATEREFRESH_TOKENRESOURCE_OWNER_PASSWORD_CREDENTIALSSAML2_BEARER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()static OAuthClientSelectionFieldDescriptor.GrantTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OAuthClientSelectionFieldDescriptor.GrantType[]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 OAuthClientSelectionFieldDescriptor.GrantType AUTHORIZATION_CODE
-
RESOURCE_OWNER_PASSWORD_CREDENTIALS
public static final OAuthClientSelectionFieldDescriptor.GrantType RESOURCE_OWNER_PASSWORD_CREDENTIALS
-
CLIENT_CREDENTIALS
public static final OAuthClientSelectionFieldDescriptor.GrantType CLIENT_CREDENTIALS
-
REFRESH_TOKEN
public static final OAuthClientSelectionFieldDescriptor.GrantType REFRESH_TOKEN
-
IMPLICIT
public static final OAuthClientSelectionFieldDescriptor.GrantType IMPLICIT
-
EXTENSION
public static final OAuthClientSelectionFieldDescriptor.GrantType EXTENSION
-
PING_VALIDATE
public static final OAuthClientSelectionFieldDescriptor.GrantType PING_VALIDATE
-
SAML2_BEARER
public static final OAuthClientSelectionFieldDescriptor.GrantType SAML2_BEARER
-
DEVICE_CODE
public static final OAuthClientSelectionFieldDescriptor.GrantType DEVICE_CODE
-
-
Method Detail
-
values
public static OAuthClientSelectionFieldDescriptor.GrantType[] 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 (OAuthClientSelectionFieldDescriptor.GrantType c : OAuthClientSelectionFieldDescriptor.GrantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OAuthClientSelectionFieldDescriptor.GrantType 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
-
getId
public String getId()
-
-