swift
Signals | Public Member Functions | Static Public Member Functions | List of all members
swift::core::db::CDatabaseAuthenticationService Class Reference

Database user used with swift DB. Features role and cookie handling. More...

Inheritance diagram for swift::core::db::CDatabaseAuthenticationService:
[legend]

Signals

void userAuthenticationFinished (const swift::misc::network::CAuthenticatedUser &user, const swift::misc::CStatusMessageList &loginStatus)
 User authenticated.
 
void logoffFinished ()
 Logoff completed.
 

Public Member Functions

 CDatabaseAuthenticationService (QObject *parent=nullptr)
 Constructor.
 
void gracefulShutdown ()
 Shutdown.
 
swift::misc::network::CAuthenticatedUser getDbUser () const
 DB user.
 
bool isUserAuthenticated () const
 User authenticated.
 
swift::misc::CStatusMessageList login (const QString &id, const QString &password)
 Try to login to authentication web service.
 
void logoff ()
 Logoff.
 

Static Public Member Functions

static const QStringList & getLogCategories ()
 Log categories.
 

Detailed Description

Database user used with swift DB. Features role and cookie handling.

Definition at line 26 of file databaseauthentication.h.


The documentation for this class was generated from the following files: