Cutelyst  2.13.0
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. More...
 

Detailed Description

Definition at line 31 of file authentication.h.

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().