• Main Page
  • Classes
  • Files
  • File List

sasldata.h

00001 /*
00002  * This file is part of signon
00003  *
00004  * Copyright (C) 2009-2010 Nokia Corporation.
00005  *
00006  * Contact: Alberto Mardegan <alberto.mardegan@nokia.com>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public License
00010  * version 2.1 as published by the Free Software Foundation.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00020  * 02110-1301 USA
00021  */
00027 #ifndef SASLDATA_H
00028 #define SASLDATA_H
00029 
00030 #include <SignOn/SessionData>
00031 
00032 namespace SaslPluginNS {
00033 
00038 class SaslData : public SignOn::SessionData
00039 {
00040 public:
00045     enum State {
00046         DONE,           
00047         CONTINUE,       
00048     };
00049 
00053     SIGNON_SESSION_DECLARE_PROPERTY(QByteArray, Challenge);
00054 
00058     SIGNON_SESSION_DECLARE_PROPERTY(QByteArray, Response);
00059 
00063     SIGNON_SESSION_DECLARE_PROPERTY(QString, Authname);
00064 
00068     SIGNON_SESSION_DECLARE_PROPERTY(QString, Realm);
00069 
00073     SIGNON_SESSION_DECLARE_PROPERTY(QString, Service);
00074 
00078     SIGNON_SESSION_DECLARE_PROPERTY(QString, Fqdn);
00079 
00083     SIGNON_SESSION_DECLARE_PROPERTY(QString, IpLocal);
00084 
00088     SIGNON_SESSION_DECLARE_PROPERTY(QString, IpRemote);
00089 
00093     SIGNON_SESSION_DECLARE_PROPERTY(QString, ChosenMechanism);
00094 
00099     SIGNON_SESSION_DECLARE_PROPERTY(qint32, state);
00100 };
00101 
00102 }  // namespace SaslPluginNS
00103 
00104 #endif // SASLDATA_H

Generated on Wed Jul 13 2011 22:08:28 for signon by  doxygen 1.7.1