Workspace 6.21.5
Public Member Functions | List of all members
Authenticator Class Referenceabstract

The base class of all authenticators. An Authenticator is responsible for authenticating client provided credentials. Credentials differ for each authentication method as does the authentication method itself. Overriding classes should implement the Authenticate method to provider specific authentication.

#include <Authentication/Common/authenticator.h>

Inheritance diagram for Authenticator:
[legend]

Public Member Functions

 Authenticator ()=default
 
 Authenticator (const Authenticator &)=delete
 
virtual ~Authenticator ()=default
 
virtual bool authenticate (const ServerSettings &, const QString &providerVersionNumber, const Credentials *) const =0
 
Authenticatoroperator= (const Authenticator &)=delete
 

Constructor & Destructor Documentation

◆ Authenticator() [1/2]

Authenticator ( )
default

◆ Authenticator() [2/2]

Authenticator ( const Authenticator )
delete

◆ ~Authenticator()

virtual ~Authenticator ( )
virtualdefault

Member Function Documentation

◆ authenticate()

virtual bool authenticate ( const ServerSettings ,
const QString &  providerVersionNumber,
const Credentials  
) const
pure virtual

Authenticates a set of credentials.

Implemented in BAAuthenticator, and NoneAuthenticator.

◆ operator=()

Authenticator & operator= ( const Authenticator )
delete