| Package | Description |
|---|---|
| com.here.account.client |
A general purpose client class that talks to a Resource Server, in OAuth2-speak.
|
| com.here.account.oauth2 |
An OAuth2.0 compliant client library for use against HERE Account services.
|
| Modifier and Type | Method and Description |
|---|---|
<T,U> T |
Client.sendMessage(HttpProvider.HttpRequest httpRequest,
Class<T> responseClass,
Class<U> errorResponseClass,
BiFunction<Integer,U,RuntimeException> newExceptionFunction)
Sends the requested HTTP Message to the Server.
|
<R,T,U> T |
Client.sendMessage(String method,
String url,
R request,
Class<T> responseClass,
Class<U> errorResponseClass,
BiFunction<Integer,U,RuntimeException> newExceptionFunction)
Sends the requested HTTP Message to the Server.
|
<R,T,U> T |
Client.sendMessage(String method,
String url,
R request,
Map<String,String> additionalHeaders,
Class<T> responseClass,
Class<U> errorResponseClass,
BiFunction<Integer,U,RuntimeException> newExceptionFunction)
Sends the requested HTTP Message to the Server, with additional headers.
|
| Modifier and Type | Method and Description |
|---|---|
Fresh<AccessTokenResponse> |
TokenEndpoint.requestAutoRefreshingToken(AccessTokenRequest request)
POST to the token endpoint to get an always fresh HERE Access Token, for use with HERE Services.
|
Fresh<AccessTokenResponse> |
TokenEndpoint.requestAutoRefreshingToken(Supplier<AccessTokenRequest> requestSupplier)
POST to the token endpoint to get an always fresh HERE Access Token, for use with HERE Services.
|
AccessTokenResponse |
TokenEndpoint.requestToken(AccessTokenRequest request)
POST to the token endpoint to get a HERE Access Token, for use with HERE Services.
|
Copyright © 2021 HERE Europe B.V. All Rights Reserved.