Skip navigation links
A B C D E F G H I J N O R S T U V W X 

A

AbstractClientAuthorizationRequestProvider - Class in com.here.account.auth.provider
 
AbstractClientAuthorizationRequestProvider(Clock) - Constructor for class com.here.account.auth.provider.AbstractClientAuthorizationRequestProvider
 
ACCESS_KEY_ID_PROPERTY - Static variable in class com.here.account.auth.OAuth1ClientCredentialsProvider.FromProperties
 
ACCESS_KEY_SECRET_PROPERTY - Static variable in class com.here.account.auth.OAuth1ClientCredentialsProvider.FromProperties
 
AccessTokenException - Exception in com.here.account.oauth2
If you had trouble authenticating, and got an HTTP response, you get an AccessTokenException.
AccessTokenException(int, ErrorResponse) - Constructor for exception com.here.account.oauth2.AccessTokenException
 
AccessTokenProvider - Interface in com.here.account.oauth2
Deprecated.
since 0.4.14
AccessTokenRequest - Class in com.here.account.oauth2
One of the OAuth2.0 Authorization Grant Request types supported by HERE.
AccessTokenRequest(String) - Constructor for class com.here.account.oauth2.AccessTokenRequest
 
AccessTokenResponse - Class in com.here.account.oauth2
Represents a parsed response received from an OAuth2.0 token endpoint.
AccessTokenResponse() - Constructor for class com.here.account.oauth2.AccessTokenResponse
 
AccessTokenResponse(String, String, Long, String, String) - Constructor for class com.here.account.oauth2.AccessTokenResponse
Deprecated.
AccessTokenResponse(String, String, Long, String, String, String) - Constructor for class com.here.account.oauth2.AccessTokenResponse
 
AccessTokenSupplier - Interface in com.here.account.oauth2
An interface that lets you get Access Tokens, for use with HERE Services.
addAuthorizationHeader(String) - Method in interface com.here.account.http.HttpProvider.HttpRequest
Add the Authorization header to this request, with the specified value.
addFormParam(Map<String, List<String>>, String, Object) - Static method in class com.here.account.oauth2.AccessTokenRequest
Adds the specified name and value to the form parameters.
addHeader(String, String) - Method in interface com.here.account.http.HttpProvider.HttpRequest
Adds the additional (name, value)-pair to be sent as HTTP Headers on the HTTP Request.
ApacheHttpClientProvider - Class in com.here.account.http.apache
An HttpProvider that uses Apache HttpClient as the underlying implementation.
ApacheHttpClientProvider.Builder - Class in com.here.account.http.apache
 
AUTHORIZATION_HEADER - Static variable in class com.here.account.http.HttpConstants
 
authorize(HttpProvider.HttpRequest, String, String, Map<String, List<String>>) - Method in class com.here.account.auth.NoAuthorizer
Does nothing, as no Authorization header is required when using instances of this class.
authorize(HttpProvider.HttpRequest, String, String, Map<String, List<String>>) - Method in class com.here.account.auth.OAuth1Signer
Computes and adds a signature or token to the request as appropriate for the authentication or authorization scheme.
authorize(HttpProvider.HttpRequest, String, String, Map<String, List<String>>) - Method in class com.here.account.auth.OAuth2Authorizer
Computes and adds a signature or token to the request as appropriate for the authentication or authorization scheme.
authorize(HttpProvider.HttpRequest, String, String, Map<String, List<String>>) - Method in interface com.here.account.http.HttpProvider.HttpRequestAuthorizer
Computes and adds a signature or token to the request as appropriate for the authentication or authorization scheme.

B

build() - Method in class com.here.account.client.Client.Builder
 
build() - Method in class com.here.account.http.apache.ApacheHttpClientProvider.Builder
Build using builders, builders, and more builders.
build() - Method in class com.here.account.http.java.JavaHttpProvider.Builder
Build using builders, builders, and more builders.
build() - Method in class com.here.account.oauth2.HereAccessTokenProvider.Builder
Build using builders, builders, and more builders.
builder() - Static method in class com.here.account.client.Client
 
builder() - Static method in class com.here.account.http.apache.ApacheHttpClientProvider
 
builder() - Static method in class com.here.account.http.java.JavaHttpProvider
 
builder() - Static method in class com.here.account.oauth2.HereAccessTokenProvider
Gets a new Builder for a HERE Access Token Provider.

C

calculateSignature(String, String, long, String, SignatureMethod, Map<String, List<String>>, Map<String, List<String>>) - Method in class com.here.account.auth.SignatureCalculator
Calculate the OAuth 1.0 signature based on the given parameters.
calculateSignature(String, String, long, String, SignatureMethod, String, Map<String, List<String>>, Map<String, List<String>>) - Method in class com.here.account.auth.SignatureCalculator
Calculate the OAuth 1.0 signature based on the given parameters
CHARSET - Static variable in class com.here.account.util.JsonSerializer
Constant for the loaded UTF-8 Charset.
CHARSET_STRING - Static variable in class com.here.account.http.HttpConstants
 
CHARSET_STRING - Static variable in class com.here.account.util.JsonSerializer
The name of the UTF-8 JsonSerializer.CHARSET.
Client - Class in com.here.account.client
An OLP Client that talks to an OLP Resource Server, in OAuth2-speak.
Client.Builder - Class in com.here.account.client
 
CLIENT_CREDENTIALS_GRANT_TYPE - Static variable in class com.here.account.oauth2.ClientCredentialsGrantRequest
 
ClientAuthorizationProviderChain - Class in com.here.account.auth.provider
 
ClientAuthorizationProviderChain(ClientAuthorizationRequestProvider...) - Constructor for class com.here.account.auth.provider.ClientAuthorizationProviderChain
 
ClientAuthorizationProviderChain(List<ClientCredentialsProvider>) - Constructor for class com.here.account.auth.provider.ClientAuthorizationProviderChain
 
ClientAuthorizationRequestProvider - Interface in com.here.account.oauth2
A ClientAuthorizationRequestProvider identifies a token endpoint, provides a mechanism to use credentials to authorize access token requests, and provides access token request objects.
ClientCredentialsGrantRequest - Class in com.here.account.oauth2
An AccessTokenRequest for grant_type=client_credentials.
ClientCredentialsGrantRequest() - Constructor for class com.here.account.oauth2.ClientCredentialsGrantRequest
 
ClientCredentialsGrantRequestProvider - Class in com.here.account.auth.provider
 
ClientCredentialsGrantRequestProvider(Clock) - Constructor for class com.here.account.auth.provider.ClientCredentialsGrantRequestProvider
 
ClientCredentialsProvider - Interface in com.here.account.oauth2
A ClientCredentialsProvider identifies a token endpoint and provides a mechanism to use credentials to authorize access token requests.
Clock - Interface in com.here.account.util
An interface to a clock that can be used to read the Clock.currentTimeMillis() and that can be used to Clock.schedule(ScheduledExecutorService, Runnable, long) a Runnable for execution against it.
close() - Method in class com.here.account.http.apache.ApacheHttpClientProvider
close() - Method in class com.here.account.http.java.JavaHttpProvider
close() - Method in class com.here.account.oauth2.HereAccessTokenProvider
CloseUtil - Class in com.here.account.util
 
CloseUtil() - Constructor for class com.here.account.util.CloseUtil
 
com.here.account.auth - package com.here.account.auth
General purpose utility classes for providing OAuth1.0 and OAuth2.0 credentials.
com.here.account.auth.provider - package com.here.account.auth.provider
Provider classes to pull credentials from different sources like system properties, ini and properties file and in an order of priority specified.
com.here.account.auth.provider.incubator - package com.here.account.auth.provider.incubator
 
com.here.account.client - package com.here.account.client
A general purpose client class that talks to a Resource Server, in OAuth2-speak.
com.here.account.http - package com.here.account.http
A pluggable HTTP abstraction used by the HERE Account client.
com.here.account.http.apache - package com.here.account.http.apache
An Apache HTTP Client Implementation of com.here.account.http.
com.here.account.http.java - package com.here.account.http.java
A Java Implementation of com.here.account.http.
com.here.account.identity.bo - package com.here.account.identity.bo
 
com.here.account.oauth2 - package com.here.account.oauth2
An OAuth2.0 compliant client library for use against HERE Account services.
com.here.account.oauth2.bo - package com.here.account.oauth2.bo
 
com.here.account.oauth2.retry - package com.here.account.oauth2.retry
 
com.here.account.olp - package com.here.account.olp
 
com.here.account.util - package com.here.account.util
HERE Account utility classes.
constructAuthHeader(String, String, long, SignatureMethod) - Method in class com.here.account.auth.SignatureCalculator
Construct the OAuth 1.0 authorization header with the given parameters.
CONTENT_LENGTH_HEADER - Static variable in class com.here.account.http.HttpConstants
 
CONTENT_TYPE - Static variable in class com.here.account.http.HttpConstants
 
CONTENT_TYPE_FORM_URLENCODED - Static variable in class com.here.account.http.HttpConstants
 
CONTENT_TYPE_HEADER - Static variable in class com.here.account.http.HttpConstants
 
CONTENT_TYPE_JSON - Static variable in class com.here.account.http.HttpConstants
 
currentTimeMillis() - Method in interface com.here.account.util.Clock
Returns the milliseconds UTC since the epoch.
currentTimeMillis() - Method in class com.here.account.util.SettableSystemClock
Returns the milliseconds UTC since the epoch.

D

DEFAULT_CLIENT_CREDENTIALS_PROVIDER_CHAIN - Static variable in class com.here.account.auth.provider.ClientAuthorizationProviderChain
DEFAULT_CONNECTION_TIMEOUT_IN_MS - Static variable in class com.here.account.http.HttpConstants
 
DEFAULT_MAX_NO_RETRIES - Static variable in class com.here.account.oauth2.retry.Socket5xxExponentialRandomBackoffPolicy
 
DEFAULT_REQUEST_TIMEOUT_IN_MS - Static variable in class com.here.account.http.HttpConstants
 
DEFAULT_RETRY_INTERVAL_MILLIS - Static variable in class com.here.account.oauth2.retry.Socket5xxExponentialRandomBackoffPolicy
 

E

ELLIPTIC_CURVE_ALGORITHM - Static variable in class com.here.account.auth.SignatureCalculator
This is the constant for Elliptic Curve algorithm
ENCODING_CHARSET - Static variable in class com.here.account.http.HttpConstants
 
equals(Object) - Method in class com.here.account.oauth2.ErrorResponse
ErrorResponse - Class in com.here.account.oauth2
The POJO representation of an OAuth2.0 HERE authorization server error response.
ErrorResponse() - Constructor for class com.here.account.oauth2.ErrorResponse
 
ErrorResponse(String, String, String, Integer, Integer, String) - Constructor for class com.here.account.oauth2.ErrorResponse
 
ErrorResponse(String, String, String, Integer, Integer, String, String, Integer, String, String, String, String) - Constructor for class com.here.account.oauth2.ErrorResponse
 
execute(HttpProvider.HttpRequest) - Method in class com.here.account.http.apache.ApacheHttpClientProvider
 
execute(HttpProvider.HttpRequest) - Method in interface com.here.account.http.HttpProvider
Execute the httpRequest.
execute(HttpProvider.HttpRequest) - Method in class com.here.account.http.java.JavaHttpProvider
 
execute() - Method in interface com.here.account.oauth2.retry.Retryable
Execute an operation with retry semantics.
execute(Retryable) - Method in class com.here.account.oauth2.retry.RetryExecutor
Execute the given Retryable until retry policy decides to give up.
EXPIRES_IN_FORM - Static variable in class com.here.account.oauth2.AccessTokenRequest
expires_in; the parameter name for "expires in" when conveyed in a form body.

F

FileAccessTokenResponse - Class in com.here.account.oauth2
A FileAccessTokenResponse provides access to an Access Token read from a File.
FileAccessTokenResponse() - Constructor for class com.here.account.oauth2.FileAccessTokenResponse
 
FileAccessTokenResponse(String, String, Long, String, String, Long) - Constructor for class com.here.account.oauth2.FileAccessTokenResponse
Deprecated.
FileAccessTokenResponse(String, String, Long, String, String, Long, String) - Constructor for class com.here.account.oauth2.FileAccessTokenResponse
Construct a FileAccessTokenResponse with the specified values.
Fresh<T> - Interface in com.here.account.oauth2
Wraps an object such that it is guaranteed to be "fresh" or always up to date.
FromDefaultHereCredentialsPropertiesFile - Class in com.here.account.auth.provider
A ClientCredentialsProvider that pulls credential values from the default "~/.here/credentials.properties" file.
FromDefaultHereCredentialsPropertiesFile() - Constructor for class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
 
FromDefaultHereCredentialsPropertiesFile(Clock) - Constructor for class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
 
FromDefaultHereCredentialsPropertiesFile(File) - Constructor for class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
 
FromDefaultHereCredentialsPropertiesFile(Clock, File) - Constructor for class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
 
FromFile(File) - Constructor for class com.here.account.auth.OAuth1ClientCredentialsProvider.FromFile
Builds an OAuth1ClientCredentialsProvider by pulling the required url, accessKeyId, and accessKeySecret from the given File.
fromFormParams(Map<String, List<String>>) - Static method in class com.here.account.identity.bo.IdentityTokenRequest
Converts the formParams generated from an instance of IdentityTokenRequest, back into the IdentityTokenRequest with proper properties set.
FromHereCredentialsIniFile - Class in com.here.account.auth.provider
 
FromHereCredentialsIniFile(Clock) - Constructor for class com.here.account.auth.provider.FromHereCredentialsIniFile
 
FromHereCredentialsIniFile() - Constructor for class com.here.account.auth.provider.FromHereCredentialsIniFile
 
FromHereCredentialsIniFile(File, String) - Constructor for class com.here.account.auth.provider.FromHereCredentialsIniFile
 
FromHereCredentialsIniFile(Clock, File, String) - Constructor for class com.here.account.auth.provider.FromHereCredentialsIniFile
 
FromHereCredentialsIniStream - Class in com.here.account.auth.provider
 
FromHereCredentialsIniStream(Clock, InputStream) - Constructor for class com.here.account.auth.provider.FromHereCredentialsIniStream
 
FromHereCredentialsIniStream(InputStream) - Constructor for class com.here.account.auth.provider.FromHereCredentialsIniStream
 
FromHereCredentialsIniStream(InputStream, String) - Constructor for class com.here.account.auth.provider.FromHereCredentialsIniStream
 
FromHereCredentialsIniStream(Clock, InputStream, String) - Constructor for class com.here.account.auth.provider.FromHereCredentialsIniStream
 
FromProperties(Properties) - Constructor for class com.here.account.auth.OAuth1ClientCredentialsProvider.FromProperties
Builds an OAuth1ClientCredentialsProvider by pulling the required url, accessKeyId, and accessKeySecret from the given properties.
FromProperties - Class in com.here.account.auth.provider
 
FromProperties(Clock, String, String, String) - Constructor for class com.here.account.auth.provider.FromProperties
 
FromProperties(Clock, String, String, String, String) - Constructor for class com.here.account.auth.provider.FromProperties
 
FromProperties(Clock, Properties) - Constructor for class com.here.account.auth.provider.FromProperties
 
FromRunAsIdFileProvider - Class in com.here.account.auth.provider
Gets authorization Access Tokens from an identity access token file.
FromRunAsIdFileProvider() - Constructor for class com.here.account.auth.provider.FromRunAsIdFileProvider
 
FromRunAsIdFileProvider(Clock) - Constructor for class com.here.account.auth.provider.FromRunAsIdFileProvider
 
FromRunAsIdFileProvider(Clock, String) - Constructor for class com.here.account.auth.provider.FromRunAsIdFileProvider
 
FromSystemProperties - Class in com.here.account.auth.provider
A ClientCredentialsProvider that pulls credential values from the System Properties.
FromSystemProperties() - Constructor for class com.here.account.auth.provider.FromSystemProperties
 
FromSystemProperties(Clock) - Constructor for class com.here.account.auth.provider.FromSystemProperties
 

G

get() - Method in interface com.here.account.oauth2.AccessTokenSupplier
Gets an OAuth2.0 Access Token.
get() - Method in interface com.here.account.oauth2.Fresh
Get the most up to date version of the wrapped object.
get() - Method in class com.here.account.oauth2.HereAccessTokenProvider
Gets an OAuth2.0 Access Token.
getAccessToken() - Method in interface com.here.account.oauth2.AccessTokenProvider
Deprecated.
Gets an OAuth2.0 Access Token.
getAccessToken() - Method in class com.here.account.oauth2.AccessTokenResponse
HERE Access Token.
getAccessToken() - Method in class com.here.account.oauth2.HereAccessTokenProvider
Gets an OAuth2.0 Access Token.
getAccessTokenResponse() - Method in class com.here.account.oauth2.HereAccessTokenProvider
 
getAction() - Method in class com.here.account.oauth2.ErrorResponse
The action for this error response.
getAdditionalHeaders() - Method in class com.here.account.oauth2.AccessTokenRequest
Get any additional headers that will be added to the token request.
getAlgorithm() - Method in enum com.here.account.auth.SignatureMethod
 
getAuthorizer() - Method in class com.here.account.auth.provider.FromRunAsIdFileProvider
 
getCause() - Method in class com.here.account.oauth2.ErrorResponse
The cause for this error response.
getClientAuthorizer() - Method in class com.here.account.auth.OAuth1ClientCredentialsProvider
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.auth.provider.ClientAuthorizationProviderChain
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.auth.provider.FromHereCredentialsIniFile
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.auth.provider.FromHereCredentialsIniStream
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.auth.provider.FromProperties
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.auth.provider.FromRunAsIdFileProvider
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.auth.provider.FromSystemProperties
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.auth.provider.incubator.RunAsIdAuthorizationProvider
Deprecated.
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientAuthorizer() - Method in class com.here.account.client.Client
 
getClientAuthorizer() - Method in interface com.here.account.oauth2.ClientAuthorizationRequestProvider
Gets the HttpRequestAuthorizer that the client will use to authorize access token requests.
getClientCredentialsProvider() - Method in class com.here.account.auth.provider.ClientAuthorizationProviderChain
 
getClientCredentialsProvider() - Method in class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
 
getClientCredentialsProvider(InputStream, String) - Static method in class com.here.account.auth.provider.FromHereCredentialsIniStream
getClientCredentialsProvider(Clock, InputStream, String) - Static method in class com.here.account.auth.provider.FromHereCredentialsIniStream
 
getClock() - Method in class com.here.account.auth.OAuth1ClientCredentialsProvider
Get the Clock implementation in use.
getClock() - Method in class com.here.account.auth.provider.AbstractClientAuthorizationRequestProvider
Get the Clock implementation in use.
getClock() - Method in class com.here.account.auth.provider.ClientAuthorizationProviderChain
Get the Clock implementation in use.
getClock() - Method in interface com.here.account.oauth2.ClientAuthorizationRequestProvider
Get the Clock implementation in use.
getCode() - Method in class com.here.account.oauth2.ErrorResponse
The error code for this error response.
getContentLength() - Method in interface com.here.account.http.HttpProvider.HttpResponse
Returns the HTTP Content-Length header value.
getContentLength(HttpURLConnection) - Method in class com.here.account.http.java.JavaHttpProvider
 
getCorrelationId() - Method in class com.here.account.oauth2.AccessTokenRequest
Get the correlationId (the unique value for tracking a request across services and within a service).
getCorrelationId() - Method in class com.here.account.oauth2.AccessTokenResponse
Get the correlationId (the unique value for tracking a request across services and within a service).
getCorrelationId() - Method in class com.here.account.oauth2.ErrorResponse
The unique request correlation id, useful for support questions, or tracking purposes.
getCorrelationId() - Method in interface com.here.account.olp.OlpHttpMessage
Get the correlationId (the unique value for tracking a request across services and within a service).
getDefaultHereCredentialsIniFile() - Static method in class com.here.account.auth.provider.FromHereCredentialsIniFile
 
getDelegate() - Method in class com.here.account.auth.provider.FromHereCredentialsIniFile
The delegate allows for reloading the file each time it is used, in case it has changed.
getDelegate() - Method in class com.here.account.auth.provider.FromHereCredentialsIniStream
 
getDelegate() - Method in class com.here.account.auth.provider.FromProperties
 
getDelegate() - Method in class com.here.account.auth.provider.FromSystemProperties
 
getError() - Method in class com.here.account.oauth2.ErrorResponse
The error value.
getErrorCode() - Method in class com.here.account.oauth2.ErrorResponse
The errorCode.
getErrorDescription() - Method in class com.here.account.oauth2.ErrorResponse
The error_description value.
getErrorId() - Method in class com.here.account.oauth2.ErrorResponse
The errorId.
getErrorResponse() - Method in exception com.here.account.oauth2.AccessTokenException
 
getExp() - Method in class com.here.account.oauth2.FileAccessTokenResponse
exp The "exp" (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing.
getExpiresIn() - Method in class com.here.account.oauth2.AccessTokenRequest
Gets the expiresIn value, the desired lifetime in seconds of the access token returned by this request.
getExpiresIn() - Method in class com.here.account.oauth2.AccessTokenResponse
Seconds until expiration, at time of receipt of this object.
getExpiresIn() - Method in class com.here.account.oauth2.FileAccessTokenResponse
In a File-based Access Token Response, the access_token may have been written long ago, and the appropriate expiresIn value is derived from the fixed quantity "exp" seconds minus the time of this object creation in seconds.
getExpiresIn() - Method in interface com.here.account.util.RefreshableResponseProvider.ExpiringResponse
Seconds until expiration, at time of receipt of this object.
getFile() - Method in class com.here.account.auth.provider.FromHereCredentialsIniFile
 
getFormBody(Map<String, List<String>>) - Static method in class com.here.account.http.java.JavaHttpProvider
 
getGrantType() - Method in class com.here.account.oauth2.AccessTokenRequest
 
getHeaders() - Method in interface com.here.account.http.HttpProvider.HttpResponse
Returns all the headers from the response
getHttpMethod() - Method in class com.here.account.auth.OAuth1ClientCredentialsProvider
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in class com.here.account.auth.provider.ClientAuthorizationProviderChain
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in class com.here.account.auth.provider.FromHereCredentialsIniFile
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in class com.here.account.auth.provider.FromHereCredentialsIniStream
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in class com.here.account.auth.provider.FromProperties
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in class com.here.account.auth.provider.FromRunAsIdFileProvider
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in class com.here.account.auth.provider.FromSystemProperties
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in class com.here.account.auth.provider.incubator.RunAsIdAuthorizationProvider
Deprecated.
Get the HTTP Method used to obtain authorization.
getHttpMethod() - Method in interface com.here.account.oauth2.ClientAuthorizationRequestProvider
Get the HTTP Method used to obtain authorization.
getHttpStatus() - Method in class com.here.account.oauth2.ErrorResponse
The httpStatus.
getHttpUrlConnection(String) - Method in class com.here.account.http.java.JavaHttpProvider
 
getIdToken() - Method in class com.here.account.oauth2.AccessTokenResponse
 
getLastException() - Method in class com.here.account.oauth2.retry.RetryContext
 
getLastRetryResponse() - Method in class com.here.account.oauth2.retry.RetryContext
 
getMessage() - Method in class com.here.account.oauth2.ErrorResponse
The message.
getMethod() - Method in enum com.here.account.http.HttpConstants.HttpMethods
Returns the HTTP Method to be sent with the HTTP Request message.
getNamespace() - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
getNewAccessTokenRequest() - Method in class com.here.account.auth.OAuth1ClientCredentialsProvider
Gets a new AccessTokenRequest to authorize this client to obtain an Access Token.
getNewAccessTokenRequest() - Method in class com.here.account.auth.provider.ClientAuthorizationProviderChain
Gets a new AccessTokenRequest to authorize this client to obtain an Access Token.
getNewAccessTokenRequest() - Method in class com.here.account.auth.provider.ClientCredentialsGrantRequestProvider
Gets a new AccessTokenRequest to authorize this client to obtain an Access Token.
getNewAccessTokenRequest() - Method in class com.here.account.auth.provider.FromRunAsIdFileProvider
Gets a new AccessTokenRequest to authorize this client to obtain an Access Token.
getNewAccessTokenRequest() - Method in class com.here.account.auth.provider.incubator.RunAsIdAuthorizationProvider
Deprecated.
Gets a new AccessTokenRequest to authorize this client to obtain an Access Token.
getNewAccessTokenRequest() - Method in interface com.here.account.oauth2.ClientAuthorizationRequestProvider
Gets a new AccessTokenRequest to authorize this client to obtain an Access Token.
getNewDefaultClientCredentialsProviderChain(Clock) - Static method in class com.here.account.auth.provider.ClientAuthorizationProviderChain
Factory method for getting a new default ClientAuthorizationProviderChain.
getNextRetryIntervalMillis(RetryContext) - Method in class com.here.account.oauth2.retry.NoRetryPolicy
 
getNextRetryIntervalMillis(RetryContext) - Method in interface com.here.account.oauth2.retry.RetryPolicy
Calculates wait interval after which retry should happen in milliseconds.
getNextRetryIntervalMillis(RetryContext) - Method in class com.here.account.oauth2.retry.Socket5xxExponentialRandomBackoffPolicy
 
getOauth1SignatureMethod() - Method in enum com.here.account.auth.SignatureMethod
 
getPodName() - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
getPodUid() - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
getPropertiesFromFile(File) - Static method in class com.here.account.auth.OAuth1ClientCredentialsProvider
Loads the File as an InputStream into a new Properties object, and returns it.
getQueryParams(String) - Method in class com.here.account.auth.OAuth1Signer
Extract query parameters from a raw query string.
getRefreshToken() - Method in class com.here.account.oauth2.AccessTokenResponse
If non-null, the refreshToken allows you to re-authorize and get a new fresh accessToken.
getRequest() - Method in class com.here.account.auth.provider.FromRunAsIdFileProvider
 
getRequest(HttpProvider.HttpRequestAuthorizer, String, String, String) - Method in class com.here.account.http.apache.ApacheHttpClientProvider
Gets the RequestBuilder, with the specified method, url, and requestBodyJson.
getRequest(HttpProvider.HttpRequestAuthorizer, String, String, Map<String, List<String>>) - Method in class com.here.account.http.apache.ApacheHttpClientProvider
Gets the RequestBuilder, with the specified method, url, and formParams.
getRequest(HttpProvider.HttpRequestAuthorizer, String, String, String) - Method in interface com.here.account.http.HttpProvider
Gets the RequestBuilder, with the specified method, url, and requestBodyJson.
getRequest(HttpProvider.HttpRequestAuthorizer, String, String, Map<String, List<String>>) - Method in interface com.here.account.http.HttpProvider
Gets the RequestBuilder, with the specified method, url, and formParams.
getRequest(HttpProvider.HttpRequestAuthorizer, String, String, String) - Method in class com.here.account.http.java.JavaHttpProvider
 
getRequest(HttpProvider.HttpRequestAuthorizer, String, String, Map<String, List<String>>) - Method in class com.here.account.http.java.JavaHttpProvider
 
getResponseBody() - Method in interface com.here.account.http.HttpProvider.HttpResponse
Get the response body, as an InputStream.
getRetryCount() - Method in class com.here.account.oauth2.retry.RetryContext
 
getRunAsId() - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
getRunAsIdName() - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
getScheduledExecutorServiceSize1() - Static method in class com.here.account.util.RefreshableResponseProvider
Gets a here-auth-refresh ScheduledExecutorService with 1 core pool thread.
getScope() - Method in class com.here.account.auth.OAuth1ClientCredentialsProvider
Get the token scope.
getScope() - Method in class com.here.account.auth.provider.ClientAuthorizationProviderChain
Get the token scope.
getScope() - Method in class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
Get the token scope.
getScope() - Method in class com.here.account.auth.provider.FromHereCredentialsIniFile
Get the token scope.
getScope() - Method in class com.here.account.auth.provider.FromHereCredentialsIniStream
Get the token scope.
getScope() - Method in class com.here.account.auth.provider.FromProperties
Get the token scope.
getScope() - Method in class com.here.account.auth.provider.FromRunAsIdFileProvider
Get the token scope.
getScope() - Method in class com.here.account.auth.provider.FromSystemProperties
Get the token scope.
getScope() - Method in class com.here.account.auth.provider.incubator.RunAsIdAuthorizationProvider
Deprecated.
Get the token scope.
getScope() - Method in class com.here.account.oauth2.AccessTokenRequest
Get the scope for the token request.
getScope() - Method in class com.here.account.oauth2.AccessTokenResponse
Scope the token has access to.
getScope() - Method in interface com.here.account.oauth2.ClientAuthorizationRequestProvider
Get the token scope.
getSingleFormValue(Map<String, List<String>>, String) - Static method in class com.here.account.identity.bo.IdentityTokenRequest
If available, gets the first value matching the formParamKey from formParams.
getStartTimeMilliseconds() - Method in class com.here.account.oauth2.AccessTokenResponse
Current time milliseconds UTC at the time of construction of this object.
getStartTimeMilliseconds() - Method in interface com.here.account.util.RefreshableResponseProvider.ExpiringResponse
Current time milliseconds UTC at the time of construction of this object.
getStatus() - Method in class com.here.account.oauth2.ErrorResponse
The HTTP status code for this error response.
getStatusCode() - Method in interface com.here.account.http.HttpProvider.HttpResponse
Returns the HTTP response status code.
getStatusCode() - Method in exception com.here.account.oauth2.AccessTokenException
 
getTimestamp() - Method in class com.here.account.oauth2.bo.TimestampResponse
Gets the timestamp.
getTitle() - Method in class com.here.account.oauth2.ErrorResponse
The title for this error response.
getTokenEndpoint(HttpProvider, ClientCredentialsProvider) - Static method in class com.here.account.oauth2.HereAccount
Deprecated.
Use of getTokenEndpoint(HttpProvider httpProvider, ClientAuthorizationRequestProvider clientAuthorizationRequestProvider) is suggested This method is solely for backward compatibility Get the ability to run various Token Endpoint API calls to the HERE Account Authorization Server. See OAuth2.0 Obtaining Authorization. The returned TokenEndpoint exposes an abstraction to make calls against the OAuth2 token endpoint identified by the given client credentials provider. In addition, all calls made against the returned endpoint will automatically be injected with the given client credentials.
getTokenEndpoint(HttpProvider, ClientAuthorizationRequestProvider) - Static method in class com.here.account.oauth2.HereAccount
Get the ability to run various Token Endpoint API calls to the HERE Account Authorization Server.
getTokenEndpoint(HttpProvider, ClientAuthorizationRequestProvider, Serializer) - Static method in class com.here.account.oauth2.HereAccount
Deprecated.
getTokenEndpointUrl() - Method in class com.here.account.auth.OAuth1ClientCredentialsProvider
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in class com.here.account.auth.provider.ClientAuthorizationProviderChain
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in class com.here.account.auth.provider.FromDefaultHereCredentialsPropertiesFile
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in class com.here.account.auth.provider.FromHereCredentialsIniFile
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in class com.here.account.auth.provider.FromHereCredentialsIniStream
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in class com.here.account.auth.provider.FromProperties
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in class com.here.account.auth.provider.FromRunAsIdFileProvider
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in class com.here.account.auth.provider.FromSystemProperties
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in class com.here.account.auth.provider.incubator.RunAsIdAuthorizationProvider
Deprecated.
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenEndpointUrl() - Method in interface com.here.account.oauth2.ClientAuthorizationRequestProvider
Gets the url of the token endpoint for this OAuth 2.0 Provider.
getTokenType() - Method in class com.here.account.oauth2.AccessTokenResponse
The returned type of the token.
getUnexpiredResponse() - Method in class com.here.account.util.RefreshableResponseProvider
Gets the current unexpired response.
GRANT_TYPE_FORM - Static variable in class com.here.account.oauth2.AccessTokenRequest
 
GRANT_TYPE_JSON - Static variable in class com.here.account.oauth2.AccessTokenRequest
Deprecated.
use JacksonSerializer instead

H

hashCode() - Method in class com.here.account.oauth2.ErrorResponse
HereAccessTokenProvider - Class in com.here.account.oauth2
An implementation that provides HERE Access Tokens, by accessing HERE Account via the OAuth2.0 API.
HereAccessTokenProvider.Builder - Class in com.here.account.oauth2
By default the Builder uses ClientAuthorizationProviderChain.getNewDefaultClientCredentialsProviderChain(Clock) for credentials, the ApacheHttpClientProvider, and the "always fresh" Access Token.
HereAccount - Class in com.here.account.oauth2
Static entry point to access HERE Account via the OAuth2.0 API.
HttpConstants - Class in com.here.account.http
Utility class which defines constants used in HTTP operations.
HttpConstants.HttpMethods - Enum in com.here.account.http
 
HttpException - Exception in com.here.account.http
If there is an Exception from the underlying HTTP provider implementation, we wrap it in an HttpException.
HttpException(String) - Constructor for exception com.here.account.http.HttpException
 
HttpException(String, Throwable) - Constructor for exception com.here.account.http.HttpException
 
HttpProvider - Interface in com.here.account.http
An interface to the HTTP wireline provider implementation of your choosing.
HttpProvider.HttpRequest - Interface in com.here.account.http
Wrapper for an HTTP request.
HttpProvider.HttpRequestAuthorizer - Interface in com.here.account.http
Wrapper for authorizing HTTP requests.
HttpProvider.HttpResponse - Interface in com.here.account.http
Wrapper for HTTP responses.

I

IDENTITY_GRANT_TYPE - Static variable in class com.here.account.identity.bo.IdentityTokenRequest
 
IdentityTokenRequest - Class in com.here.account.identity.bo
 
IdentityTokenRequest() - Constructor for class com.here.account.identity.bo.IdentityTokenRequest
 
incrementRetryCount() - Method in class com.here.account.oauth2.retry.RetryContext
Increments the retryCount by 1.

J

JacksonSerializer - Class in com.here.account.util
A Serializer that uses Jackson to serialize and deserialize JSON.
JacksonSerializer() - Constructor for class com.here.account.util.JacksonSerializer
 
JavaHttpProvider - Class in com.here.account.http.java
A pure-Java implementation of the HttpProvider interface using HttpURLConnection.
JavaHttpProvider.Builder - Class in com.here.account.http.java
 
JsonSerializer - Class in com.here.account.util
A jackson-based JSON serializer and deserializer.
JsonSerializer() - Constructor for class com.here.account.util.JsonSerializer
 
jsonToMap(InputStream) - Method in class com.here.account.util.JacksonSerializer
Reads from the input jsonInputStream containing bytes from a JSON stream, and returns the corresponding Map<String, Object>.
jsonToMap(InputStream) - Method in interface com.here.account.util.Serializer
Reads from the input jsonInputStream containing bytes from a JSON stream, and returns the corresponding Map<String, Object>.
jsonToPojo(InputStream, Class<T>) - Method in class com.here.account.util.JacksonSerializer
 
jsonToPojo(InputStream, Class<T>) - Method in interface com.here.account.util.Serializer
 

N

nextBytes(byte[]) - Method in class com.here.account.auth.OAuth1Signer
The source of entropy for OAuth1.0 nonce values.
NoAuthorizer - Class in com.here.account.auth
Use this class, for use cases where you want no Authorization header on your requests to the service.
NoAuthorizer() - Constructor for class com.here.account.auth.NoAuthorizer
 
NoRetryPolicy - Class in com.here.account.oauth2.retry
An implementation of RetryPolicy with default behaviour as no retry.
NoRetryPolicy() - Constructor for class com.here.account.oauth2.retry.NoRetryPolicy
 
nullSafeCloseThrowingUnchecked(Closeable) - Static method in class com.here.account.util.CloseUtil
A null-safe invocation of closeable.close(), such that if an IOException is triggered, it is wrapped instead in an UncheckedIOException.

O

OAuth1ClientCredentialsProvider - Class in com.here.account.auth
A ClientCredentialsProvider that injects client credentials by signing token requests with an OAuth1 signature.
OAuth1ClientCredentialsProvider(String, String, String) - Constructor for class com.here.account.auth.OAuth1ClientCredentialsProvider
Construct a new OAuth1ClientCredentialsProvider that points to the given token endpoint and uses the given client credentials to sign requests using OAuth1 signatures.
OAuth1ClientCredentialsProvider(String, String, String, String) - Constructor for class com.here.account.auth.OAuth1ClientCredentialsProvider
 
OAuth1ClientCredentialsProvider(Clock, String, String, String) - Constructor for class com.here.account.auth.OAuth1ClientCredentialsProvider
 
OAuth1ClientCredentialsProvider(Clock, String, String, String, String) - Constructor for class com.here.account.auth.OAuth1ClientCredentialsProvider
 
OAuth1ClientCredentialsProvider.FromFile - Class in com.here.account.auth
An OAuth1ClientCredentialsProvider.FromProperties that pulls credential values from the specified File.
OAuth1ClientCredentialsProvider.FromProperties - Class in com.here.account.auth
An OAuth1ClientCredentialsProvider that pulls credentials values from the given properties.
OAuth1Signer - Class in com.here.account.auth
Appends the The OAuth 1.0 Protocol signature to the HTTP request.
OAuth1Signer(String, String) - Constructor for class com.here.account.auth.OAuth1Signer
Construct the OAuth signer based on accessKeyId and accessKeySecret.
OAuth1Signer(Clock, String, String) - Constructor for class com.here.account.auth.OAuth1Signer
Construct the OAuth signer based on clock, accessKeyId, and accessKeySecret.
OAuth1Signer(String, String, SignatureMethod) - Constructor for class com.here.account.auth.OAuth1Signer
 
OAuth1Signer(Clock, String, String, SignatureMethod) - Constructor for class com.here.account.auth.OAuth1Signer
Construct the OAuth signer based on clock, consumerKey, consumerSecret, and signatureMethod.
OAuth2Authorizer - Class in com.here.account.auth
Appends the specified OAuth2.0 Bearer Token to the HTTP request.
OAuth2Authorizer(String) - Constructor for class com.here.account.auth.OAuth2Authorizer
Construct the Bearer authorizer with the specified accessToken.
OAuth2Authorizer(Supplier<String>) - Constructor for class com.here.account.auth.OAuth2Authorizer
Construct the Bearer authorizer with the specified accessTokenSupplier.
OAuthConstants - Class in com.here.account.util
Utility class for constants used by the HERE oauth client.
OAuthConstants() - Constructor for class com.here.account.util.OAuthConstants
 
objectToJson(Object) - Method in class com.here.account.util.JacksonSerializer
 
objectToJson(Object) - Static method in class com.here.account.util.JsonSerializer
Converts the input POJO object to its JSON string.
objectToJson(Object) - Method in interface com.here.account.util.Serializer
 
OlpHttpMessage - Interface in com.here.account.olp
 

R

readUpTo16KBytes(InputStream) - Static method in class com.here.account.util.ReadUtil
 
ReadUtil - Class in com.here.account.util
 
ReadUtil() - Constructor for class com.here.account.util.ReadUtil
 
refresh(T) - Method in interface com.here.account.util.RefreshableResponseProvider.ResponseRefresher
Invoked when on a specified interval to refresh the token.
RefreshableResponseProvider<T extends RefreshableResponseProvider.ExpiringResponse> - Class in com.here.account.util
Use this class if you want to always have an unexpired view of an expiring response object (within reason we expect that each request calls RefreshableResponseProvider.getUnexpiredResponse() which is intended to execute quickly).
RefreshableResponseProvider(Long, T, RefreshableResponseProvider.ResponseRefresher<T>) - Constructor for class com.here.account.util.RefreshableResponseProvider
Create a RefreshableResponseProvider with optional refreshIntervalMillis, initialResponse, and refreshResponseFunction.
RefreshableResponseProvider(Clock, Long, T, RefreshableResponseProvider.ResponseRefresher<T>, ScheduledExecutorService) - Constructor for class com.here.account.util.RefreshableResponseProvider
 
RefreshableResponseProvider.ExpiringResponse - Interface in com.here.account.util
Various tokens and keys might be set up in the system to be expiring.
RefreshableResponseProvider.ResponseRefresher<T extends RefreshableResponseProvider.ExpiringResponse> - Interface in com.here.account.util
You can call a response refresher to refresh a previous ExpiringResponse, to keep it unexpired.
requestAutoRefreshingToken(AccessTokenRequest) - Method in interface com.here.account.oauth2.TokenEndpoint
POST to the token endpoint to get an always fresh HERE Access Token, for use with HERE Services.
requestAutoRefreshingToken(Supplier<AccessTokenRequest>) - Method in interface com.here.account.oauth2.TokenEndpoint
POST to the token endpoint to get an always fresh HERE Access Token, for use with HERE Services.
RequestExecutionException - Exception in com.here.account.oauth2
A RequestExecutionException occurs when there is a problem processing a request made to an HTTP endpoint.
RequestExecutionException() - Constructor for exception com.here.account.oauth2.RequestExecutionException
Creates a new instance of RequestExecutionException without detail message.
RequestExecutionException(String) - Constructor for exception com.here.account.oauth2.RequestExecutionException
Constructs an instance of RequestExecutionException with the specified detail message.
RequestExecutionException(String, Throwable) - Constructor for exception com.here.account.oauth2.RequestExecutionException
Constructs an instance of RequestExecutionException with the specified detail message and cause.
RequestExecutionException(Throwable) - Constructor for exception com.here.account.oauth2.RequestExecutionException
Constructs an instance of RequestExecutionException with the specified cause.
RequestProviderException - Exception in com.here.account.auth.provider
 
RequestProviderException(String) - Constructor for exception com.here.account.auth.provider.RequestProviderException
 
RequestProviderException(String, Throwable) - Constructor for exception com.here.account.auth.provider.RequestProviderException
 
requestToken(AccessTokenRequest) - Method in interface com.here.account.oauth2.TokenEndpoint
POST to the token endpoint to get a HERE Access Token, for use with HERE Services.
ResponseParsingException - Exception in com.here.account.oauth2
A ResponseParsingException occurs when there is a problem parsing a response received from an HTTP request.
ResponseParsingException() - Constructor for exception com.here.account.oauth2.ResponseParsingException
Creates a new instance of ResponseParsingException without detail message.
ResponseParsingException(String) - Constructor for exception com.here.account.oauth2.ResponseParsingException
Constructs an instance of ResponseParsingException with the specified detail message.
ResponseParsingException(String, Throwable) - Constructor for exception com.here.account.oauth2.ResponseParsingException
Constructs an instance of ResponseParsingException with the specified detail message and cause.
ResponseParsingException(Throwable) - Constructor for exception com.here.account.oauth2.ResponseParsingException
Constructs an instance of ResponseParsingException with the specified cause.
Retryable - Interface in com.here.account.oauth2.retry
An interface for an operation that can be retried using a RetryExecutor
RetryContext - Class in com.here.account.oauth2.retry
A RetryContext contains data set to be used for next retry.
RetryContext() - Constructor for class com.here.account.oauth2.retry.RetryContext
 
RetryExecutor - Class in com.here.account.oauth2.retry
A RetryExecutor provides a mechanisms to execute a Retryable and will retry on failure according to an implementation specific retry policy.
RetryExecutor(RetryPolicy) - Constructor for class com.here.account.oauth2.retry.RetryExecutor
 
RetryPolicy - Interface in com.here.account.oauth2.retry
A RetryPolicy is responsible for providing policy and condition for retries.
RunAsIdAuthorizationProvider - Class in com.here.account.auth.provider.incubator
Deprecated.
subject to removal, or non-backwards-compatible changes
RunAsIdAuthorizationProvider() - Constructor for class com.here.account.auth.provider.incubator.RunAsIdAuthorizationProvider
Deprecated.
 
RunAsIdAuthorizationProvider(Clock, String) - Constructor for class com.here.account.auth.provider.incubator.RunAsIdAuthorizationProvider
Deprecated.
 

S

schedule(ScheduledExecutorService, Runnable, long) - Method in interface com.here.account.util.Clock
Schedules runnable the specified millisecondsInTheFutureToSchedule using scheduledExecutorService.
schedule(ScheduledExecutorService, Runnable, long) - Method in class com.here.account.util.SettableSystemClock
Schedules runnable the specified millisecondsInTheFutureToSchedule using scheduledExecutorService.
scheduleTokenRefresh(long) - Method in class com.here.account.util.RefreshableResponseProvider
Schedule the next refresh with the specified timeout duration
SCOPE_FORM - Static variable in class com.here.account.oauth2.AccessTokenRequest
 
SCOPE_JSON - Static variable in class com.here.account.oauth2.AccessTokenRequest
Deprecated.
use JacksonSerializer instead
sendMessage(String, String, R, Class<T>, Class<U>, BiFunction<Integer, U, RuntimeException>) - Method in class com.here.account.client.Client
Sends the requested HTTP Message to the Server.
sendMessage(String, String, R, Map<String, String>, Class<T>, Class<U>, BiFunction<Integer, U, RuntimeException>) - Method in class com.here.account.client.Client
Sends the requested HTTP Message to the Server, with additional headers.
sendMessage(HttpProvider.HttpRequest, Class<T>, Class<U>, BiFunction<Integer, U, RuntimeException>) - Method in class com.here.account.client.Client
Sends the requested HTTP Message to the Server.
Serializer - Interface in com.here.account.util
 
setAdditionalHeaders(Map<String, String>) - Method in class com.here.account.oauth2.AccessTokenRequest
 
setAlwaysRequestNewToken(boolean) - Method in class com.here.account.oauth2.HereAccessTokenProvider.Builder
Default is false.
setClientAuthorizationRequestProvider(ClientAuthorizationRequestProvider) - Method in class com.here.account.oauth2.HereAccessTokenProvider.Builder
Optionally set your custom ClientAuthorizationRequestProvider, to override the default.
setConnectionTimeoutInMs(int) - Method in class com.here.account.http.apache.ApacheHttpClientProvider.Builder
 
setCorrelationId(String) - Method in class com.here.account.oauth2.AccessTokenRequest
Set the correlationId (the unique value for tracking a request across services and within a service).
setCorrelationId(String) - Method in class com.here.account.oauth2.AccessTokenResponse
Set the correlationId (the unique value for tracking a request across services and within a service).
setCorrelationId(String) - Method in interface com.here.account.olp.OlpHttpMessage
Set the correlationId (the unique value for tracking a request across services and within a service).
setCurrentTimeMillis(long) - Method in interface com.here.account.util.SettableClock
Sets the milliseconds UTC since the epoch to the specified value.
setCurrentTimeMillis(long) - Method in class com.here.account.util.SettableSystemClock
Sets the milliseconds UTC since the epoch to the specified value.
setDoCloseHttpClient(boolean) - Method in class com.here.account.http.apache.ApacheHttpClientProvider.Builder
 
setExpiresIn(Long) - Method in class com.here.account.oauth2.AccessTokenRequest
Optionally set the lifetime in seconds of the access token returned by this request.
setExpiresIn(Long) - Method in class com.here.account.oauth2.ClientCredentialsGrantRequest
Optionally set the lifetime in seconds of the access token returned by this request.
setHttpClient(CloseableHttpClient) - Method in class com.here.account.http.apache.ApacheHttpClientProvider.Builder
Optionally inject your own CloseableHttpClient with a fully-configured httpClient of your choosing.
setHttpProvider(HttpProvider) - Method in class com.here.account.oauth2.HereAccessTokenProvider.Builder
Optionally set your custom HttpProvider, to override the default.
setLastException(Exception) - Method in class com.here.account.oauth2.retry.RetryContext
 
setLastRetryResponse(HttpProvider.HttpResponse) - Method in class com.here.account.oauth2.retry.RetryContext
 
setRequestTimeoutInMs(int) - Method in class com.here.account.http.apache.ApacheHttpClientProvider.Builder
 
setRetryPolicy(RetryPolicy) - Method in class com.here.account.oauth2.HereAccessTokenProvider.Builder
Optionally override the retry policy.
setScope(String) - Method in class com.here.account.oauth2.AccessTokenRequest
Set the scope for the token request.
setSerializer(Serializer) - Method in class com.here.account.oauth2.HereAccessTokenProvider.Builder
Optionally override the default JSON Serializer.
SettableClock - Interface in com.here.account.util
 
SettableSystemClock - Class in com.here.account.util
A SettableSystemClock starts off using the Clock.SYSTEM, but any time you set a "corrected" value via SettableSystemClock.setCurrentTimeMillis(long), will record a correction and work off that value instead.
SettableSystemClock() - Constructor for class com.here.account.util.SettableSystemClock
 
shouldRetry(RetryContext) - Method in class com.here.account.oauth2.retry.NoRetryPolicy
 
shouldRetry(RetryContext) - Method in interface com.here.account.oauth2.retry.RetryPolicy
Decides whether retry should happen based on last response or last exception thrown.
shouldRetry(RetryContext) - Method in class com.here.account.oauth2.retry.Socket5xxExponentialRandomBackoffPolicy
 
shutdown() - Method in class com.here.account.util.RefreshableResponseProvider
Shutdown the background threads
SignatureCalculator - Class in com.here.account.auth
Compute OAuth1.0 signature using the given parameters.
SignatureCalculator(String, String) - Constructor for class com.here.account.auth.SignatureCalculator
 
SignatureMethod - Enum in com.here.account.auth
enum for signature methods.
Socket5xxExponentialRandomBackoffPolicy - Class in com.here.account.oauth2.retry
An implementation of RetryPolicy to retry on SocketTimeoutException and http status greater or equal to 500
Socket5xxExponentialRandomBackoffPolicy() - Constructor for class com.here.account.oauth2.retry.Socket5xxExponentialRandomBackoffPolicy
 
Socket5xxExponentialRandomBackoffPolicy(int, int) - Constructor for class com.here.account.oauth2.retry.Socket5xxExponentialRandomBackoffPolicy
 
SYSTEM - Static variable in interface com.here.account.util.Clock
java.lang.System Clock (digital approximation of wall clock).

T

TimestampResponse - Class in com.here.account.oauth2.bo
 
TimestampResponse() - Constructor for class com.here.account.oauth2.bo.TimestampResponse
 
TimestampResponse(Long) - Constructor for class com.here.account.oauth2.bo.TimestampResponse
 
toFormParams() - Method in class com.here.account.identity.bo.IdentityTokenRequest
Converts this request, to its formParams Map representation.
toFormParams() - Method in class com.here.account.oauth2.AccessTokenRequest
Converts this request, to its formParams Map representation.
toJson() - Method in class com.here.account.oauth2.AccessTokenRequest
Deprecated.
use JacksonSerializer instead
toJson(Map<String, Object>) - Static method in class com.here.account.util.JsonSerializer
Converts the input mapObject to its JSON String representation.
TOKEN_ENDPOINT_URL_PROPERTY - Static variable in class com.here.account.auth.OAuth1ClientCredentialsProvider.FromProperties
 
TOKEN_SCOPE_PROPERTY - Static variable in class com.here.account.auth.OAuth1ClientCredentialsProvider.FromProperties
 
TokenEndpoint - Interface in com.here.account.oauth2
A TokenEndpoint directly corresponds to the token endpoint as specified in the OAuth2.0 Specification.
toMap(InputStream) - Static method in class com.here.account.util.JsonSerializer
Converts the input JSON InputStream, to a Map<String, Object>.
toPojo(InputStream, Class<T>) - Static method in class com.here.account.util.JsonSerializer
Converts the input JSON InputStream, to a POJO of the class specified as pojoClass.
toString() - Method in class com.here.account.oauth2.ErrorResponse

U

UTF_8_CHARSET - Static variable in class com.here.account.util.OAuthConstants
This is the constant for the "UTF-8" Charset already loaded.
UTF_8_STRING - Static variable in class com.here.account.util.OAuthConstants
We commonly use "UTF-8" charset, this String is its name.

V

valueOf(String) - Static method in enum com.here.account.auth.SignatureMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.here.account.http.HttpConstants.HttpMethods
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.here.account.auth.SignatureMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.here.account.http.HttpConstants.HttpMethods
Returns an array containing the constants of this enum type, in the order they are declared.
verifyFileIsReadable() - Method in class com.here.account.auth.provider.FromRunAsIdFileProvider
 
verifySignature(String, String, String, long, String, SignatureMethod, Map<String, List<String>>, Map<String, List<String>>, String, String) - Static method in class com.here.account.auth.SignatureCalculator
Verify the signature.
verifySignature(String, SignatureMethod, String, String) - Static method in class com.here.account.auth.SignatureCalculator
Verify the signature.

W

withClientAuthorizer(HttpProvider.HttpRequestAuthorizer) - Method in class com.here.account.client.Client.Builder
 
withHttpProvider(HttpProvider) - Method in class com.here.account.client.Client.Builder
 
withNamespace(String) - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
withPodName(String) - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
withPodUid(String) - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
withRetryPolicy(RetryPolicy) - Method in class com.here.account.client.Client.Builder
 
withRunAsId(String) - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
withRunAsIdName(String) - Method in class com.here.account.identity.bo.IdentityTokenRequest
 
withSerializer(Serializer) - Method in class com.here.account.client.Client.Builder
 
writeObjectToJson(OutputStream, Object) - Method in class com.here.account.util.JacksonSerializer
 
writeObjectToJson(OutputStream, Object) - Method in interface com.here.account.util.Serializer
 

X

X_CORRELATION_ID - Static variable in interface com.here.account.olp.OlpHttpMessage
 
A B C D E F G H I J N O R S T U V W X 
Skip navigation links

Copyright © 2021 HERE Europe B.V. All Rights Reserved.