authclient\OAuth1 signRequest()

signRequest() protected method Sign request with $signatureMethod. protected array signRequest ( $method, $url, array $params )$method string Request method. $url string Request URL. $params array Request params. return array Signed request params.

authclient\OAuth1 sendSignedRequest()

sendSignedRequest() protected method Sends HTTP request, signed by $signatureMethod. protected array sendSignedRequest ( $method, $url, array $params = [], array $headers = [] )$method string Request type. $url string Request URL. $params array Request params. $headers array Additional request headers. return array Response.

authclient\OAuth1 refreshAccessToken()

refreshAccessToken() public method Gets new auth token to replace expired one. public yii\authclient\OAuthToken refreshAccessToken ( yii\authclient\OAuthToken $token )$token yii\authclient\OAuthToken Expired auth token. return yii\authclient\OAuthToken New auth token.

authclient\OAuth1 generateTimestamp()

generateTimestamp() protected method Generates timestamp. protected integer generateTimestamp ( )return integer Timestamp.

authclient\OAuth1 generateNonce()

generateNonce() protected method Generates nonce value. protected string generateNonce ( )return string Nonce value.

authclient\OAuth1 generateCommonRequestParams()

generateCommonRequestParams() protected method Generate common request params like version, timestamp etc. protected array generateCommonRequestParams ( )return array Common request params.

authclient\OAuth1 fetchRequestToken()

fetchRequestToken() public method Fetches the OAuth request token. public yii\authclient\OAuthToken fetchRequestToken ( array $params = [] )$params array Additional request params. return yii\authclient\OAuthToken Request token.

authclient\OAuth1 fetchAccessToken()

fetchAccessToken() public method Fetches OAuth access token. public yii\authclient\OAuthToken fetchAccessToken ( yii\authclient\OAuthToken $requestToken = null, $oauthVerifier = null, array $params = [] )$requestToken yii\authclient\OAuthToken OAuth request token. $oauthVerifier string OAuth verifier. $params array Additional request params. return yii\authclient\OAuthToken OAuth access token. throws yii\base\Exception on failure.

authclient\OAuth1 defaultReturnUrl()

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

authclient\OAuth1 composeSignatureKey()

composeSignatureKey() protected method Composes request signature key. protected string composeSignatureKey ( )return string Signature key.