All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ingenico.direct.Authenticator Maven / Gradle / Ivy

package com.ingenico.direct;

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy