public static class OAuth1ClientCredentialsProvider.FromFile extends OAuth1ClientCredentialsProvider.FromProperties
OAuth1ClientCredentialsProvider.FromProperties that pulls credential values from the specified File.OAuth1ClientCredentialsProvider.FromFile, OAuth1ClientCredentialsProvider.FromPropertiesACCESS_KEY_ID_PROPERTY, ACCESS_KEY_SECRET_PROPERTY, TOKEN_ENDPOINT_URL_PROPERTY, TOKEN_SCOPE_PROPERTY| Constructor and Description |
|---|
FromFile(File file)
Builds an
OAuth1ClientCredentialsProvider by pulling the
required url, accessKeyId, and accessKeySecret from the given
File. |
getClientAuthorizer, getClock, getHttpMethod, getNewAccessTokenRequest, getPropertiesFromFile, getScope, getTokenEndpointUrlpublic FromFile(File file) throws IOException
OAuth1ClientCredentialsProvider by pulling the
required url, accessKeyId, and accessKeySecret from the given
File.file - the File object to pull the required credentials fromIOException - if there is a problem loading the fileCopyright © 2023 HERE Europe B.V. All Rights Reserved.