프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 |