public abstract class CustomGrantTokenClient extends Object
| Constructor and Description |
|---|
CustomGrantTokenClient(String tokenEndpointUri,
ClientCredentials clientCredentials,
TokenCache cache) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getGrantType() |
protected String |
getTokenInternal(List<NameValuePair> parameters,
String... scopes)
Retrieve access token for the configured "client_id" and specified scopes.
|
public CustomGrantTokenClient(String tokenEndpointUri, ClientCredentials clientCredentials, TokenCache cache)
protected String getTokenInternal(List<NameValuePair> parameters, String... scopes) throws IOException
parameters - Grant-specific parametersscopes - OAuth2 scopes to requestIOException - Exception during token endpoint communicationprotected abstract String getGrantType()
Copyright © 2016 Scalepoint Technologies Ltd.. All rights reserved.