Method | Description | |
---|---|---|
__construct ( ) : void | Contructor | |
getConnectId ( ) : string | Returns the connectId | |
getNonce ( ) : string | Returns hash based nonce. | |
getPublicKey ( ) : string | Returns the public key | |
getSignature ( string $service, string $method, string $nonce ) : string | Returns the crypted hash signature for the message. | |
getTimestamp ( ) : string | Returns the current REST timestamp. | |
isSecureApiCall ( ) : boolean | Returns message security status. | |
setConnectId ( string $connectId ) : void | Set the connectId | |
setPublicKey ( string $publicKey ) : void | Sets the public key. | |
setSecretKey ( string $secretKey ) : void | Set SecretKey | |
setSecureApiCall ( $status = false ) : void | Enables the API authentication. | |
setTimestamp ( string $timestamp ) : void | Set connectId | |
setVersion ( string $version ) : void | Sets the API version to use. |
Method | Description | |
---|---|---|
encodeBase64 ( string $str ) : encoded | Encodes the given message parameters with Base64. | |
hmac ( $mesgparams ) : string | Creates secured HMAC signature of the message parameters. |
final public getConnectId ( ) : string | ||
return | string | zanox connect id |
final public getPublicKey ( ) : string | ||
return | string | zanox public key |
final public getTimestamp ( ) : string | ||
return | string | message timestamp |
final public isSecureApiCall ( ) : boolean | ||
return | boolean | true if secure message |
final public setConnectId ( string $connectId ) : void | ||
$connectId | string | zanox connectId |
return | void |
final public setPublicKey ( string $publicKey ) : void | ||
$publicKey | string | public key |
return | void |
final public setSecretKey ( string $secretKey ) : void | ||
$secretKey | string | zanox secret key |
return | void |
final public setSecureApiCall ( $status = false ) : void | ||
return | void |
final public setTimestamp ( string $timestamp ) : void | ||
$timestamp | string | time stamp |
return | void |
final public setVersion ( string $version ) : void | ||
$version | string | API version |
return | void |