Method | Description | |
---|---|---|
__construct ( QueryAuth\SignatureInterface $signature, |
Public constructor | |
getKeyGenerator ( ) : |
Gets instance of KeyGenerator | |
getSignature ( ) : Signature | Get Signature | |
getTimestamp ( ) : integer | Get timestamp | |
setKeyGenerator ( |
Sets instance of KeyGenerator | |
setSignature ( QueryAuth\SignatureInterface $signature ) | Set Signature | |
setTimestamp ( integer $timestamp ) | Set timestamp | |
signRequest ( QueryAuth\Request\OutgoingRequestInterface $request, QueryAuth\Credentials\CredentialsInterface $credentials ) : void | Sign request |
public __construct ( QueryAuth\SignatureInterface $signature, |
||
$signature | QueryAuth\SignatureInterface | SingatureInterface |
$keyGenerator | Key generator |
public getKeyGenerator ( ) : |
||
return | Instance of KeyGenerator |
public getSignature ( ) : Signature | ||
return | Signature | Instance of the signature creation class |
public getTimestamp ( ) : integer | ||
return | integer | timestamp |
public setKeyGenerator ( |
||
$keyGenerator | Instance of KeyGenerator |
public setSignature ( QueryAuth\SignatureInterface $signature ) | ||
$signature | QueryAuth\SignatureInterface | Instance of the signature creation class |
public setTimestamp ( integer $timestamp ) | ||
$timestamp | integer |
public signRequest ( QueryAuth\Request\OutgoingRequestInterface $request, QueryAuth\Credentials\CredentialsInterface $credentials ) : void | ||
$request | QueryAuth\Request\OutgoingRequestInterface | Request |
$credentials | QueryAuth\Credentials\CredentialsInterface | Credentials |
return | void |