public class FromHereCredentialsIniFile extends ClientCredentialsGrantRequestProvider implements ClientAuthorizationRequestProvider
| Constructor and Description |
|---|
FromHereCredentialsIniFile() |
FromHereCredentialsIniFile(Clock clock) |
FromHereCredentialsIniFile(Clock clock,
File file,
String sectionName) |
FromHereCredentialsIniFile(File file,
String sectionName) |
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpRequestAuthorizer |
getClientAuthorizer()
Gets the
HttpRequestAuthorizer that the client will use
to authorize access token requests. |
protected static File |
getDefaultHereCredentialsIniFile() |
protected ClientAuthorizationRequestProvider |
getDelegate()
The delegate allows for reloading the file each time it is used,
in case it has changed.
|
protected File |
getFile() |
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 FromHereCredentialsIniFile(Clock clock)
public FromHereCredentialsIniFile()
protected ClientAuthorizationRequestProvider getDelegate()
protected File getFile()
protected static File getDefaultHereCredentialsIniFile()
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.