public class FromProperties extends ClientCredentialsGrantRequestProvider implements ClientAuthorizationRequestProvider
| Constructor and Description |
|---|
FromProperties(Clock clock,
Properties properties) |
FromProperties(Clock clock,
String tokenEndpointUrl,
String accessKeyId,
String accessKeySecret) |
FromProperties(Clock clock,
String tokenEndpointUrl,
String accessKeyId,
String accessKeySecret,
String scope) |
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpRequestAuthorizer |
getClientAuthorizer()
Gets the
HttpRequestAuthorizer that the client will use
to authorize access token requests. |
protected ClientCredentialsProvider |
getDelegate() |
HttpConstants.HttpMethods |
getHttpMethod()
Get the HTTP Method used to obtain authorization.
|
String |
getScope()
Get the token scope.
|
String |
getTokenEndpointUrl()
Gets the url of the token endpoint for this OAuth 2.0 Provider.
|
getNewAccessTokenRequestgetClockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClock, getNewAccessTokenRequestpublic FromProperties(Clock clock, String tokenEndpointUrl, String accessKeyId, String accessKeySecret)
public FromProperties(Clock clock, String tokenEndpointUrl, String accessKeyId, String accessKeySecret, String scope)
public FromProperties(Clock clock, Properties properties)
protected ClientCredentialsProvider getDelegate()
public String getTokenEndpointUrl()
getTokenEndpointUrl in interface ClientAuthorizationRequestProviderpublic HttpProvider.HttpRequestAuthorizer getClientAuthorizer()
HttpRequestAuthorizer that the client will use
to authorize access token requests.getClientAuthorizer in interface ClientAuthorizationRequestProviderpublic HttpConstants.HttpMethods getHttpMethod()
getHttpMethod in interface ClientAuthorizationRequestProviderpublic String getScope()
getScope in interface ClientAuthorizationRequestProviderCopyright © 2021 HERE Europe B.V. All Rights Reserved.