public function validateRequestTokenWithLogin(RequestToken $requestToken, $username, $password)
    {
        $data = $this->getApi()->validateRequestTokenWithLogin(
            $requestToken,
            $username,
            $password
        );

        return $this->getFactory()->createRequestToken($data);
    }
public function validateRequestTokenWithLogin(RequestToken $requestToken, $username, $password)
    {
        $data = $this->getApi()->validateRequestTokenWithLogin(
            $requestToken,
            $username,
            $password
        );

        return $this->getFactory()->createRequestToken($data);
    }
public function validateRequestTokenWithLogin ( RequestToken $ requestToken , $ username , $ password ) { $ data = $ this -> getApi ( ) -> validateRequestTokenWithLogin ( $ requestToken , $ username , $ password ) ; return $ this -> getFactory ( ) -> createRequestToken ( $ data ) ; }
This method is used to validate a request_token for user based authentication.
A request_token is required in order to use any of the write methods.

@param  RequestToken                      $requestToken
@param  string                            $username
@param  string                            $password
@throws UnauthorizedRequestTokenException
@return RequestToken
This method is used to validate a request_token for user based authentication . A request_token is required in order to use any of the write methods .