|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AuthorizationRequestUrl.ResponseType>
com.google.api.client.auth.oauth2.AuthorizationRequestUrl.ResponseType
public static enum AuthorizationRequestUrl.ResponseType
Response type enumeration that may be used for setting the
AuthorizationRequestUrl.responseType.
Call set(AuthorizationRequestUrl) to set the response type on an authorization request
URL.
| Enum Constant Summary | |
|---|---|
CODE
Authorization code. |
|
CODE_AND_TOKEN
Authorization code and access token. |
|
TOKEN
Access token. |
|
| Method Summary | |
|---|---|
void |
set(AuthorizationRequestUrl url)
Sets the response type on an authorization request URL. |
static AuthorizationRequestUrl.ResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuthorizationRequestUrl.ResponseType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AuthorizationRequestUrl.ResponseType CODE
public static final AuthorizationRequestUrl.ResponseType TOKEN
public static final AuthorizationRequestUrl.ResponseType CODE_AND_TOKEN
| Method Detail |
|---|
public static AuthorizationRequestUrl.ResponseType[] values()
for (AuthorizationRequestUrl.ResponseType c : AuthorizationRequestUrl.ResponseType.values()) System.out.println(c);
public static AuthorizationRequestUrl.ResponseType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic void set(AuthorizationRequestUrl url)
url - authorization request URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||