com.ingenico.connect.gateway.sdk.java.Authenticator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
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);
}