public final class OAuth2AuthorizationResponseType
extends java.lang.Object
implements java.io.Serializable
response_type parameter is consumed by the authorization endpoint which
is used by the authorization code grant type and implicit grant type.
The client sets the response_type parameter with the desired grant type before initiating the authorization request.
The response_type parameter value may be one of "code" for requesting an authorization code or
"token" for requesting an access token (implicit grant).
| Modifier and Type | Field and Description |
|---|---|
static OAuth2AuthorizationResponseType |
CODE |
static OAuth2AuthorizationResponseType |
TOKEN |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getValue()
Returns the value of the authorization response type.
|
int |
hashCode() |
public static final OAuth2AuthorizationResponseType CODE
public static final OAuth2AuthorizationResponseType TOKEN
public java.lang.String getValue()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object