⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Wt
All Projects
Wt
Overview
Activity
Roadmap
Issues
Wiki
Forums
Download (713 Bytes)
Auth with Unix native users
» userdb.h
Niko Sommer
, 08/17/2015 02:27 PM
#ifndef USERDB_H
#define USERDB_H
#include
<Wt/Auth/AbstractUserDatabase>
#include
<Wt/Auth/User>
using
namespace
Wt
;
class
UserDb
:
public
Auth
::
AbstractUserDatabase
{
public:
UserDb
();
void
addIdentity
();
WString
identity
(
const
Auth
::
User
&
user
,
const
std
::
string
&
provider
)
const
;
void
removeIdentity
();
Auth
::
User
findWithId
(
const
std
::
string
&
id
)
const
;
Auth
::
User
findWithIdentity
(
const
std
::
string
&
provider
,
const
WString
&
identity
)
const
;
Transaction
*
startTransaction
();
int
updateAuthToken
();
/* Auth::User registerNew();
void deleteUser();
Auth::User::Status status(const Auth::User &user) const;
*/
//void setStatus(const)
};
#endif // USERDB_H
« Previous
1
2
3
4
Next »
(1-1/4)
Loading...