public static class OAuth1ClientCredentialsProvider.FromProperties extends OAuth1ClientCredentialsProvider
OAuth1ClientCredentialsProvider that pulls credentials values
from the given properties. The properties supported and required are:
OAuth1ClientCredentialsProvider.FromFile, OAuth1ClientCredentialsProvider.FromProperties| Modifier and Type | Field and Description |
|---|---|
static String |
ACCESS_KEY_ID_PROPERTY |
static String |
ACCESS_KEY_SECRET_PROPERTY |
static String |
TOKEN_ENDPOINT_URL_PROPERTY |
static String |
TOKEN_SCOPE_PROPERTY |
| Constructor and Description |
|---|
FromProperties(Properties properties)
Builds an
OAuth1ClientCredentialsProvider by pulling the
required url, accessKeyId, and accessKeySecret from the given
properties. |
getClientAuthorizer, getClock, getHttpMethod, getNewAccessTokenRequest, getPropertiesFromFile, getScope, getTokenEndpointUrlpublic static final String TOKEN_ENDPOINT_URL_PROPERTY
public static final String ACCESS_KEY_ID_PROPERTY
public static final String ACCESS_KEY_SECRET_PROPERTY
public static final String TOKEN_SCOPE_PROPERTY
public FromProperties(Properties properties)
OAuth1ClientCredentialsProvider by pulling the
required url, accessKeyId, and accessKeySecret from the given
properties.properties - the properties object to pull the required credentials fromCopyright © 2021 HERE Europe B.V. All Rights Reserved.