|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.client.oauth2.OAuth2Parameters
public final class OAuth2Parameters
Class that contains definition od parameters used in OAuth2.
| Nested Class Summary | |
|---|---|
static class |
OAuth2Parameters.GrantType
Parameter grant_type used in the access token request. |
| Field Summary | |
|---|---|
static String |
CLIENT_ID
Parameter client_id that
corresponds to (ClientIdentifier.getClientId()). |
static String |
CLIENT_SECRET
Parameter client_secret that
corresponds to (ClientIdentifier.getClientSecret()). |
static String |
CODE
Authorization code |
static String |
REDIRECT_URI
Parameter response_type used in the
authorization request. |
static String |
REDIRECT_URI_UNDEFINED
|
static String |
REFRESH_TOKEN
Parameter refresh_token contains Refresh Token (corresponds
to TokenResult.getRefreshToken()). |
static String |
RESPONSE_TYPE
Parameter response_type used in the
authorization request. |
static String |
SCOPE
Parameter scope that defines the scope to which an authorization is requested. |
static String |
STATE
State parameter used in the authorization request and authorization response to protect against CSRF attacks. |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CLIENT_ID
client_id that
corresponds to (ClientIdentifier.getClientId()).
public static final String CLIENT_SECRET
client_secret that
corresponds to (ClientIdentifier.getClientSecret()).
public static final String RESPONSE_TYPE
response_type used in the
authorization request. For Authorization Code Grant Flow the value is code.
public static final String REDIRECT_URI
response_type used in the
authorization request.
public static final String SCOPE
scope that defines the scope to which an authorization is requested.
Space delimited format. Scope values are defined by the Service Provider.
public static final String STATE
public static final String REFRESH_TOKEN
refresh_token contains Refresh Token (corresponds
to TokenResult.getRefreshToken()).
public static final String CODE
public static final String REDIRECT_URI_UNDEFINED
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||