Interface Authenticator
- All Known Implementing Classes:
V1HmacAuthenticator
public interface Authenticator
Used to authenticate requests to the Online Payments platform. Thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthorization(String httpMethod, URI resourceUri, List<RequestHeader> requestHeaders) Returns a value that can be used for the "Authorization" header.
-
Method Details
-
getAuthorization
Returns a value that can be used for the "Authorization" header.- Parameters:
httpMethod- The HTTP method.resourceUri- TheURIof the resource.requestHeaders- A list ofRequestHeaders. This list may not be modified and may not contain headers with the same name.
-