Свойство | Тип | Описание | |
---|---|---|---|
$_method | |||
$_params | |||
$_url |
Метод | Описание | |
---|---|---|
__construct ( $url, $params = [], $method = 'POST' ) | ||
buildAuthorizationHeader ( $realm = '' ) | ||
buildHttpQuery ( ) | Get a query string suitable for use in a URL or as POST data. | |
getSignatureBaseString ( ) | Returns the signable string of this request | |
sign ( $signatureMethod, $consumer, $token = null ) : unknown_type | Sign this request in accordance with OAuth |
Метод | Описание | |
---|---|---|
_generateNonce ( ) | Generate a nonce. | |
_getNormalizedHttpMethod ( ) | Uppercases the HTTP method | |
_getNormalizedUrl ( ) | Parse the url and rebuilds it to be scheme://host/path | |
_getSignableParameters ( ) : string | Returns the normalized parameters of the request |
protected _getNormalizedHttpMethod ( ) |
protected _getNormalizedUrl ( ) |
protected _getSignableParameters ( ) : string | ||
Результат | string |
public buildHttpQuery ( ) |
public getSignatureBaseString ( ) |
public sign ( $signatureMethod, $consumer, $token = null ) : unknown_type | ||
$signatureMethod | ||
$consumer | ||
$token | ||
Результат | unknown_type |