cutelyst 3.9.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Cutelyst::AuthenticationCredential Class Referenceabstract
Inheritance diagram for Cutelyst::AuthenticationCredential:

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

◆ ~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.