Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

auth.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: auth.h,v $
00003                              -------------------
00004     cvs         : $Id: auth.h,v 1.4 2003/04/19 15:05:00 aquamaniac Exp $
00005     begin       : Thu Jan 24 2002
00006     copyright   : (C) 2002 by Martin Preuss
00007     email       : openhbci@aquamaniac.de
00008 
00009  ***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Lesser General Public            *
00013  *   License as published by the Free Software Foundation; either          *
00014  *   version 2.1 of the License, or (at your option) any later version.    *
00015  *                                                                         *
00016  *   This library is distributed in the hope that it will be useful,       *
00017  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00019  *   Lesser General Public License for more details.                       *
00020  *                                                                         *
00021  *   You should have received a copy of the GNU Lesser General Public      *
00022  *   License along with this library; if not, write to the Free Software   *
00023  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00024  *   MA  02111-1307  USA                                                   *
00025  *                                                                         *
00026  ***************************************************************************/
00027 
00028 #ifndef HBCIAUTH_H
00029 #define HBCIAUTH_H
00030 
00035 #ifdef __cplusplus
00036 #include <string>
00037 #include <openhbci/dllimport.h>
00038 #include <openhbci/error.h>
00039 #include <openhbci/pointer.h>
00040 namespace HBCI {
00041   class Auth;
00042 }
00043 #include <openhbci/user.h>
00044 #include <openhbci/hbci.h>
00045 
00046 namespace HBCI {
00055 class DLLIMPORT Auth {
00056 private:
00057     Hbci *_hbci;
00058 public:
00064     Auth(Hbci *hbci);
00065 
00066     virtual ~Auth();
00067 
00098     virtual Error getSecret(Pointer<User> user,
00099                             const string &token,
00100                             string &secret,
00101                             bool createSecret=false);
00102 };
00103 } /* namespace */
00104 #endif /* __cplusplus */
00105 
00106 
00107 #endif
00108 
00109 
00110 

Generated on Mon Jun 23 13:41:07 2003 for openhbci by doxygen1.2.17