authclient\OAuth1 apiInternal()

apiInternal() protected method

Performs request to the OAuth API.

protected array apiInternal ( $accessToken, $url, $method, array $params, array $headers )
$accessToken yii\authclient\OAuthToken

Actual access token.

$url string

Absolute API URL.

$method string

Request method.

$params array

Request parameters.

$headers array

Additional request headers.

return array

API response.

throws yii\base\Exception

on failure.

doc_Yii
2016-10-30 16:49:35
Comments
Leave a Comment

Please login to continue.