src/Duellsy/Pockpack/PockpackAuth.php
public function receiveTokenAndUsername($consumer_key, $request_token)
    {
        $pocketData = $this->convertRequestToken($consumer_key, $request_token);

        $returnData['access_token'] = $pocketData->access_token;
        $returnData['username'] = $pocketData->username;
        
        return $returnData;
    }
public function receiveTokenAndUsername($consumer_key, $request_token)
    {
        $pocketData = $this->convertRequestToken($consumer_key, $request_token);

        $returnData['access_token'] = $pocketData->access_token;
        $returnData['username'] = $pocketData->username;
        
        return $returnData;
    }
public function receiveTokenAndUsername ( $ consumer_key , $ request_token ) { $ pocketData = $ this -> convertRequestToken ( $ consumer_key , $ request_token ) ; $ returnData [ 'access_token' ] = $ pocketData -> access_token ; $ returnData [ 'username' ] = $ pocketData -> username ; return $ returnData ; }
Grab an access token and the username from the pocket API, after sending it
the consumer key and request token from earlier

@param  string $consumer_key
@param  string $request_token
Grab an access token and the username from the pocket API after sending it the consumer key and request token from earlier