public class NoAuthorizer extends Object implements HttpProvider.HttpRequestAuthorizer
| Constructor and Description |
|---|
NoAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
authorize(HttpProvider.HttpRequest httpRequest,
String method,
String url,
Map<String,List<String>> formParams)
Does nothing, as no Authorization header is required when using
instances of this class.
|
public void authorize(HttpProvider.HttpRequest httpRequest, String method, String url, Map<String,List<String>> formParams)
Computes and adds a signature or token to the request as appropriate for the authentication or authorization scheme.
authorize in interface HttpProvider.HttpRequestAuthorizerhttpRequest - the HttpRequest under construction,
to which to attach authorizationmethod - the HTTP methodurl - the URL of the requestformParams - the
Content-Type: application/x-www-form-urlencoded
form parameters.Copyright © 2023 HERE Europe B.V. All Rights Reserved.