public enum OAuth2Grant extends Enum<OAuth2Grant>
| Enum Constant and Description |
|---|
authorizationCode |
clientCredentials |
| Modifier and Type | Method and Description |
|---|---|
static OAuth2Grant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Grant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2Grant clientCredentials
public static final OAuth2Grant authorizationCode
public static OAuth2Grant[] values()
for (OAuth2Grant c : OAuth2Grant.values()) System.out.println(c);
public static OAuth2Grant 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 © 2009–2014 SURFnet bv, The Netherlands. All rights reserved.