GnuCashew ~ GnuCash Enabled Web
GCW
Auth.h
Go to the documentation of this file.
1 #line 2 "src/Dbo/Users/Auth.h"
2 
3 #ifndef __DBO_USERS_AUTH_H___
4 #define __DBO_USERS_AUTH_H___
5 
6 #include <Wt/Dbo/Session.h>
7 #include <Wt/Auth/Login.h>
8 #include <Wt/Auth/Dbo/UserDatabase.h>
9 #include <Wt/Auth/PasswordService.h>
10 
11 #include "User.h"
12 
13 namespace GCW {
14  namespace Dbo {
15  namespace Users {
16 
17 using AuthInfo = Wt::Auth::Dbo::AuthInfo< GCW::Dbo::Users::Item >;
18 using UserDatabase = Wt::Auth::Dbo::UserDatabase< AuthInfo >;
19 
20 auto mapClasses( Wt::Dbo::Session & session )-> void ;
21 auto postCreateTables( Wt::Dbo::Session & session )-> void ;
22 
23 auto configure()-> void ;
24 auto service()-> const Wt::Auth::AuthService & ;
25 auto passwordService()-> const Wt::Auth::PasswordService & ;
26 auto oService()-> const std::vector<const Wt::Auth::OAuthService *> ;
27 
28  } // namespace Users {
29  } // namespace Dbo {
30 } // namespace GCW {
31 
32 #endif // __DBO_USERS_SESSION_H___
33 
34 
35 
36 
auto configure() -> void
Definition: Auth.cpp:58
auto passwordService() -> const Wt::Auth::PasswordService &
Definition: Auth.cpp:93
auto postCreateTables(Wt::Dbo::Session &session) -> void
Definition: Auth.cpp:35
Wt::Auth::Dbo::UserDatabase< AuthInfo > UserDatabase
Definition: Auth.h:18
auto service() -> const Wt::Auth::AuthService &
Definition: Auth.cpp:85
Wt::Auth::Dbo::AuthInfo< GCW::Dbo::Users::Item > AuthInfo
Definition: Auth.h:17
auto mapClasses(Wt::Dbo::Session &session) -> void
Definition: Auth.cpp:24
auto oService() -> const std::vector< const Wt::Auth::OAuthService * >
Definition: Auth.cpp:101
Definition: App.h:17