public class FromDefaultHereCredentialsPropertiesFile extends ClientCredentialsGrantRequestProvider implements ClientAuthorizationRequestProvider
ClientCredentialsProvider that pulls credential values from the
default "~/.here/credentials.properties" file.| Constructor and Description |
|---|
FromDefaultHereCredentialsPropertiesFile() |
FromDefaultHereCredentialsPropertiesFile(Clock clock) |
FromDefaultHereCredentialsPropertiesFile(Clock clock,
File file) |
FromDefaultHereCredentialsPropertiesFile(File file) |
| Modifier and Type | Method and Description |
|---|---|
HttpProvider.HttpRequestAuthorizer |
getClientAuthorizer()
Gets the
HttpRequestAuthorizer that the client will use
to authorize access token requests. |
protected ClientCredentialsProvider |
getClientCredentialsProvider() |
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 FromDefaultHereCredentialsPropertiesFile()
public FromDefaultHereCredentialsPropertiesFile(Clock clock)
public FromDefaultHereCredentialsPropertiesFile(File file)
protected ClientCredentialsProvider getClientCredentialsProvider()
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 © 2020 HERE Europe B.V. All Rights Reserved.