\QiniuMac

Summary

Methods
Properties
Constants
__construct()
sign()
signWithData()
signRequest()
$access_key
$secret_key
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$access_key

$access_key : 

Type

$secret_key

$secret_key : 

Type

Methods

__construct()

__construct(  $access_key,   $secret_key) 

Parameters

$access_key
$secret_key

sign()

sign(string  $data) : string

Sign data

Parameters

string $data

Returns

string

signWithData()

signWithData(string  $data) : string

Sign with data

Parameters

string $data

Returns

string

signRequest()

signRequest(string  $url, string  $body = '') : string

Sign url and body for generate token

Parameters

string $url
string $body

Returns

string