public class AccessTokenGrantRequest extends Object implements ParametersMap
| Constructor and Description |
|---|
AccessTokenGrantRequest(String grantType,
String clientId,
String clientSecret,
Collection<String> scope)
Initializes grant request from properties.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClientId() |
String |
getClientSecret() |
String |
getGrantType()
Returns the grant type of this grant request.
|
protected static Map<String,String> |
getPropertyMap()
Maps Bean introspection property descriptors name to OAuth2 valid payload
property names.
|
Collection<String> |
getScopes() |
int |
hashCode() |
Map<String,Object> |
map() |
void |
setScopes(Collection<String> scopes) |
String |
toString() |
public AccessTokenGrantRequest(String grantType, String clientId, String clientSecret, Collection<String> scope)
grantType - The grant type of this grant request, such as "authorization_code" or "client_secret"clientId - The client id in this grant requestclientSecret - The client secret in this grant requestscope - The collection of scopes in this grant requestpublic Collection<String> getScopes()
public final void setScopes(Collection<String> scopes)
public String getGrantType()
public String getClientId()
public String getClientSecret()
protected static Map<String,String> getPropertyMap()
public Map<String,Object> map() throws Exception
map in interface ParametersMapExceptionCopyright © 2017. All rights reserved.