Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WsAbstractAuth.cpp
Go to the documentation of this file.
1 /*
2  *
3  * Filename: WsAbstractAuth.cpp
4  *
5  * Description: Abstract class used to authentificate in the application
6  *
7  * Created: 02/10/12 15:33:40
8  *
9  * Author: Benoit Daccache, ben.daccache@gmail.com
10  *
11  */
12 
13 #include "WsAbstractAuth.h"
14 #include <set>
15 #include <iostream>
16 
18 {
19  return "";
20 }
21 
23 {
24  return "";
25 }
26 
28 {
29  return "";
30 }
31 
32 std::set<std::string> WsAbstractAuth::getUserGroups()
33 {
34  return std::set<std::string>();
35 }
36 
37 std::set<std::string> WsAbstractAuth::getAllGroups()
38 {
39  return std::set<std::string>();
40 }
virtual std::string getFirstName()
return the user's name
virtual std::set< std::string > getAllGroups()
return all the possible groups
virtual std::string getEmail()
return the user's email
virtual std::set< std::string > getUserGroups()
return the groups of the user
virtual std::string getSurname()
return the user's surname