authclient\OAuth1 defaultReturnUrl()

defaultReturnUrl() protected method Composes default $returnUrl value. protected string defaultReturnUrl ( )return string Return URL.

authclient\OAuth1 composeAuthorizationHeader()

composeAuthorizationHeader() protected method Composes authorization header content. protected string composeAuthorizationHeader ( array $params, $realm = '' )$params array Request params. $realm string Authorization realm. return string Authorization header content.

authclient\OAuth1 buildAuthUrl()

buildAuthUrl() public method Composes user authorization URL. public string buildAuthUrl ( yii\authclient\OAuthToken $requestToken = null, array $params = [] )$requestToken yii\authclient\OAuthToken OAuth request token. $params array Additional request params. return string Authorize URL throws yii\base\Exception on failure.

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.

authclient\OAuth1 composeRequestCurlOptions()

composeRequestCurlOptions() protected method Composes HTTP request CUrl options, which will be merged with the default ones. protected array composeRequestCurlOptions ( $method, $url, array $params )$method string Request type. $url string Request URL. $params array Request params. return array CUrl options. throws yii\base\Exception on failure.

authclient\OAuth1 $requestTokenUrl

$requestTokenUrl public property OAuth request token URL. public string $requestTokenUrl = null

authclient\OAuth1 $requestTokenMethod

$requestTokenMethod public property Request token HTTP method. public string $requestTokenMethod = 'GET'

authclient\OAuth1 $version

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

authclient\OAuth1 $consumerSecret

$consumerSecret public property OAuth consumer secret. public string $consumerSecret = null

authclient\OAuth1 $accessTokenMethod

$accessTokenMethod public property Access token HTTP method. public string $accessTokenMethod = 'GET'