2 * KQOAuth - An OAuth authentication library for Qt.
4 * Author: Johan Paul (johan.paul@d-pointer.com)
5 * http://www.d-pointer.com
7 * KQOAuth is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
12 * KQOAuth is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with KQOAuth. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef KQOAUTHREQUEST_XAUTH_H
21 #define KQOAUTHREQUEST_XAUTH_H
23 #include "kqoauthrequest.h"
24 #include "kqoauthrequest_1.h"
26 class KQOAuthRequest_XAuthPrivate;
27 class KQOAUTH_EXPORT KQOAuthRequest_XAuth : public KQOAuthRequest
31 KQOAuthRequest_XAuth(QObject *parent = 0);
34 * These methods can be overridden in child classes which are different types of
37 // Validate the request of this type.
40 // Give the xAuth specific parameters.
41 void setXAuthLogin(const QString &username = "",
42 const QString &password = "");
45 KQOAuthRequest_XAuthPrivate * const d_ptr;
46 bool xauth_parameters_set;
49 #endif // KQOAUTHREQUEST_XAUTH_H