public static enum Definitions.OAuth2GrantType extends java.lang.Enum<Definitions.OAuth2GrantType>
Enum Constant and Description |
---|
authorization_code
oauth2 authorization code (OAuth 2 authorization code)
|
refresh_token
oauth2 refresh token (OAuth 2 refresh token)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toOAuth2GrantType() |
static Definitions.OAuth2GrantType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Definitions.OAuth2GrantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Definitions.OAuth2GrantType authorization_code
public static final Definitions.OAuth2GrantType refresh_token
public static Definitions.OAuth2GrantType[] values()
for (Definitions.OAuth2GrantType c : Definitions.OAuth2GrantType.values()) System.out.println(c);
public static Definitions.OAuth2GrantType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toOAuth2GrantType()
Copyright © 2015 Tampere University of Technology, Pori Department.