Overview

Namespaces

  • Sotr
    • Crypto
      • Bitstamp
      • Btce

Classes

  • AbstractApi
  • AbstractRequestSigner
  • AccountBalance
  • CurrencyPair
  • Ticker
  • TimestampNonceGenerator

Interfaces

  • CurrencyPairResolverInterface
  • ExchangeApiInterface
  • NonceGeneratorInterface
  • RequestSignerInterface
  • Overview
  • Namespace
  • Class

Class AbstractRequestSigner

Sotr\Crypto\AbstractRequestSigner implements Sotr\Crypto\RequestSignerInterface

Direct known subclasses

Sotr\Crypto\Bitstamp\BitstampRequestSigner, Sotr\Crypto\Btce\BtceRequestSigner
Abstract
Namespace: Sotr\Crypto
Located at AbstractRequestSigner.php
Methods summary
public
# __construct( )
abstract public Psr\Http\Message\RequestInterface
# sign( Psr\Http\Message\RequestInterface $request, string $key, string $secret, string $customerId = null, integer $customerId,… )

Returns a signed copy of the provided request using the given API key, secret and, optionally, the customer's ID.

Returns a signed copy of the provided request using the given API key, secret and, optionally, the customer's ID.

Exchanges which don't require the customer's ID for signing might pass null as this parameter.

Parameters

$request
$key
$secret
$customerId
$secret
$customerId,…

Returns

Psr\Http\Message\RequestInterface

Implementation of

Sotr\Crypto\RequestSignerInterface::sign()
public
# setNonceGenerator( Sotr\Crypto\NonceGeneratorInterface $generator )

Set the nonce generator used by this signer.

Set the nonce generator used by this signer.

Parameters

$generator
Properties summary
protected Sotr\Crypto\NonceGeneratorInterface $nonceGenerator

The nonce generator.

The nonce generator.

#
API documentation generated by ApiGen