public static enum WsSecuredRequestBuilder.OAuthGrantType extends Enum<WsSecuredRequestBuilder.OAuthGrantType>
| Enum Constant and Description |
|---|
CLIENT_CREDENTIALS |
RESOURCE_OWNER_PASSWORD_CREDENTIALS |
| Modifier and Type | Method and Description |
|---|---|
static WsSecuredRequestBuilder.OAuthGrantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WsSecuredRequestBuilder.OAuthGrantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsSecuredRequestBuilder.OAuthGrantType RESOURCE_OWNER_PASSWORD_CREDENTIALS
public static final WsSecuredRequestBuilder.OAuthGrantType CLIENT_CREDENTIALS
public static WsSecuredRequestBuilder.OAuthGrantType[] values()
for (WsSecuredRequestBuilder.OAuthGrantType c : WsSecuredRequestBuilder.OAuthGrantType.values()) System.out.println(c);
public static WsSecuredRequestBuilder.OAuthGrantType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017 SAP SE. All Rights Reserved.