src/Widop/Twitter/OAuth/OAuth.php
public function getAccessToken(OAuthToken $requestToken, $verifier)
    {
        $request = $this->createRequest('/oauth/access_token', OAuthResponse::FORMAT_STR);
        $request->setOAuthParameter('oauth_verifier', $verifier);
        $this->signRequest($request, $requestToken);

        return $this->createOAuthToken($this->sendRequest($request));
    }
public function getAccessToken(OAuthToken $requestToken, $verifier)
    {
        $request = $this->createRequest('/oauth/access_token', OAuthResponse::FORMAT_STR);
        $request->setOAuthParameter('oauth_verifier', $verifier);
        $this->signRequest($request, $requestToken);

        return $this->createOAuthToken($this->sendRequest($request));
    }
public function getAccessToken ( OAuthToken $ requestToken , $ verifier ) { $ request = $ this -> createRequest ( '/oauth/access_token' , OAuthResponse :: FORMAT_STR ) ; $ request -> setOAuthParameter ( 'oauth_verifier' , $ verifier ) ; $ this -> signRequest ( $ request , $ requestToken ) ; return $ this -> createOAuthToken ( $ this -> sendRequest ( $ request ) ) ; }
Gets an access token.

@param \Widop\Twitter\OAuth\Token\OAuthToken $requestToken The request token.
@param string                                $verifier     The OAuth verifier.

@return \Widop\Twitter\OAuth\Token\OAuthToken The access token.
Gets an access token .