Class: Ingenico::Connect::SDK::Authenticator

Inherits:
Object
  • Object
show all
Defined in:
lib/ingenico/connect/sdk/authenticator.rb

Overview

Abstract class that is responsible for authenticating requests sent to the Ingenico ePayments platform.

Direct Known Subclasses

DefaultImpl::DefaultAuthenticator

Instance Method Summary collapse

Instance Method Details

#create_simple_authentication_signature(http_method, resource_uri, request_headers) ⇒ Object

Creates a signature to authenticate a request. Uses the following parameters:

http_method

‘GET’, ‘PUT’, ‘POST’ or ‘DELETE’ indicating which HTTP method will be used with the request

resource_uri

URI object that includes #path and #query of the url that will be used, #query may be nil

request_headers

RequestHeader list that contains all headers used by the request

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/ingenico/connect/sdk/authenticator.rb', line 11

def create_simple_authentication_signature(http_method, resource_uri, request_headers)
  raise NotImplementedError
end