com.ingenico.connect.gateway.sdk.java.Authenticator Maven / Gradle / Ivy
package com.ingenico.connect.gateway.sdk.java;
import java.net.URI;
import java.util.List;
/**
* Used to sign requests to the Ingenico ePayments platform. Thread-safe.
*/
public interface Authenticator {
/**
* Creates a signature for the simple security model.
*
* @param httpMethod The HTTP method.
* @param resourceUri The {@link URI} of the resource.
* @param requestHeaders
* A list of {@link RequestHeader}s. This list may not be
* modified and may not contain headers with the same name.
*/
String createSimpleAuthenticationSignature(String httpMethod, URI resourceUri, List requestHeaders);
}