Interface IAuthenticator
Used to sign requests to the Ingenico ePayments platform. Thread-safe.
Namespace: Ingenico.Connect.Sdk
Assembly: connect-sdk-dotnet.dll
Syntax
public interface IAuthenticator
Methods
CreateSimpleAuthenticationSignature(HttpMethod, Uri, IEnumerable<IRequestHeader>)
Creates a signature for the simple security model.
Declaration
string CreateSimpleAuthenticationSignature(HttpMethod httpMethod, Uri resourceUri, IEnumerable<IRequestHeader> requestHeaders)
Parameters
Type | Name | Description |
---|---|---|
HttpMethod | httpMethod | HTTP method. |
Uri | resourceUri | Resource URI. |
IEnumerable<IRequestHeader> | requestHeaders | A list of request headers. |
Returns
Type | Description |
---|---|
string | The simple authentication signature. |
Remarks
The list of Request headers may not be modified and may not contain headers with the same name.