PayPal\Auth\Oauth\MockOAuthDataStore::new_access_token PHP Method

new_access_token() public method

*}}}
public new_access_token ( $token, $consumer, $verifier = null )
    function new_access_token($token, $consumer, $verifier = null)
    {
        /*{{{*/
        if ($consumer->key == $this->consumer->key && $token->key == $this->request_token->key) {
            return $this->access_token;
        }
        return null;
    }