public final class OAuth2Parameters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OAuth2Parameters.GrantType
Parameter
grant_type used in the access token request. |
Modifier and Type | Field and Description |
---|---|
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.
|
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
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.