cutelyst 3.9.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Public Member Functions | List of all members
Cutelyst::AuthenticationCredential Class Referenceabstract
Inheritance diagram for Cutelyst::AuthenticationCredential:
Inheritance graph
[legend]

Public Member Functions

 AuthenticationCredential (QObject *parent=nullptr)
 Constructs a new AuthenticationCredential object with the given parent.
 
virtual AuthenticationUser authenticate (Context *c, AuthenticationRealm *realm, const ParamsMultiMap &authinfo)=0
 Tries to authenticate the authinfo using the give realm.
 

Detailed Description

Definition at line 18 of file authentication.h.

Constructor & Destructor Documentation

◆ AuthenticationCredential()

Cutelyst::AuthenticationCredential::AuthenticationCredential ( QObject *  parent = nullptr)
explicit

Definition at line 275 of file authentication.cpp.

◆ ~AuthenticationCredential()

Cutelyst::AuthenticationCredential::~AuthenticationCredential ( )
virtual

Definition at line 280 of file authentication.cpp.

Member Function Documentation

◆ authenticate()

virtual AuthenticationUser Cutelyst::AuthenticationCredential::authenticate ( Context c,
AuthenticationRealm realm,
const ParamsMultiMap authinfo 
)
pure virtual

Returns a not null AuthenticationUser object in case of success.

Implemented in Cutelyst::CredentialHttp, and Cutelyst::CredentialPassword.

Referenced by Cutelyst::AuthenticationRealm::authenticate().