public class FromSystemProperties extends ClientCredentialsGrantRequestProvider implements ClientAuthorizationRequestProvider
ClientCredentialsProvider that pulls credential values from the System Properties.| Constructor and Description |
|---|
FromSystemProperties() |
FromSystemProperties(Clock clock) |
| 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 FromSystemProperties()
public FromSystemProperties(Clock clock)
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.