authclient\BaseOAuth apiInternal()

apiInternal() protected abstract method Performs request to the OAuth API. protected abstract 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.

authclient\BaseOAuth api()

api() public method Performs request to the OAuth API. public array api ( $apiSubUrl, $method = 'GET', array $params = [], array $headers = [] )$apiSubUrl string API sub URL, which will be append to $apiBaseUrl, or 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.

authclient\BaseOAuth $version

$version public property Protocol version. public string $version = '1.0'

authclient\BaseOAuth $signatureMethod

$signatureMethod public property Signature method instance or its array configuration. public yii\authclient\signature\BaseMethod getSignatureMethod ( )public void setSignatureMethod ( $signatureMethod )

authclient\BaseOAuth $scope

$scope public property Auth request scope. public string $scope = null

authclient\BaseOAuth $returnUrl

$returnUrl public property Return URL public string getReturnUrl ( )public void setReturnUrl ( $returnUrl )

authclient\BaseOAuth $curlOptions

$curlOptions public property CURL options. public array getCurlOptions ( )public void setCurlOptions ( array $curlOptions )

authclient\BaseOAuth $apiBaseUrl

$apiBaseUrl public property API base URL. public string $apiBaseUrl = null

authclient\BaseOAuth $autoRefreshAccessToken

$autoRefreshAccessToken public property (available since version 2.0.6) Whether to automatically perform 'refresh access token' request on expired access token. public boolean $autoRefreshAccessToken = true

authclient\BaseOAuth $authUrl

$authUrl public property Authorize URL. public string $authUrl = null