Cutelyst  1.5.0
Public Member Functions | Protected Member Functions | Friends | List of all members
Cutelyst::AuthenticationRealm Class Reference
Inheritance diagram for Cutelyst::AuthenticationRealm:
Inheritance graph
[legend]

Public Member Functions

 AuthenticationRealm (AuthenticationStore *store, AuthenticationCredential *credential, QObject *parent=nullptr)
 
virtual AuthenticationUser authenticate (Context *c, const ParamsMultiMap &authinfo)
 
AuthenticationCredentialcredential () const
 
virtual AuthenticationUser findUser (Context *c, const ParamsMultiMap &userinfo)
 
AuthenticationStorestore () const
 
- Public Member Functions inherited from Cutelyst::Component
 Component (QObject *parent=nullptr)
 
bool execute (Context *c)
 
virtual bool init (Application *application, const QVariantHash &args)
 
virtual Modifiers modifiers () const
 
QString name () const
 name More...
 
QString reverse () const
 name More...
 
void setName (const QString &name)
 
void setReverse (const QString &reverse)
 

Protected Member Functions

AuthenticationUser persistUser (Context *c, const AuthenticationUser &user)
 
void removePersistedUser (Context *c)
 
AuthenticationUser restoreUser (Context *c, const QVariant &frozenUser)
 
QVariant userIsRestorable (Context *c)
 
- Protected Member Functions inherited from Cutelyst::Component
virtual bool afterExecute (Context *c)
 
void applyRoles (const QStack< Component * > &roles)
 
virtual bool aroundExecute (Context *c, QStack< Component * > stack)
 
virtual bool beforeExecute (Context *c)
 
virtual bool dispatcherReady (const Dispatcher *dispatch, Controller *controller)
 
virtual bool doExecute (Context *c)
 

Friends

class Authentication
 
class AuthenticationPrivate
 

Additional Inherited Members

- Public Types inherited from Cutelyst::Component
enum  Modifier {
  None, OnlyExecute, BeforeExecute, AroundExecute,
  AfterExecute
}
 
- Protected Attributes inherited from Cutelyst::Component
ComponentPrivate * d_ptr
 

Detailed Description

Definition at line 32 of file authenticationrealm.h.