Qt Cryptographic Architecture
Public Member Functions | List of all members
QCA::SASL::Params Class Reference

#include <QtCrypto>

Public Member Functions

bool canSendAuthzid () const
 
bool canSendRealm () const
 
bool needPassword () const
 
bool needUsername () const
 
Paramsoperator= (const Params &from)
 
 Params (bool user, bool authzid, bool pass, bool realm)
 
 Params (const Params &from)
 

Detailed Description

Parameter flags for the SASL authentication.

This is used to indicate which parameters are needed by SASL in order to complete the authentication process.

Examples
saslclient.cpp.

Constructor & Destructor Documentation

◆ Params() [1/2]

QCA::SASL::Params::Params ( bool  user,
bool  authzid,
bool  pass,
bool  realm 
)

Standard constructor.

The concept behind this is that you set each of the flags depending on which parameters are needed.

Parameters
userthe username is required
authzidthe authorization identity is required
passthe password is required
realmthe realm is required

◆ Params() [2/2]

QCA::SASL::Params::Params ( const Params from)

Standard copy constructor.

Parameters
fromthe Params object to copy

Member Function Documentation

◆ operator=()

Params & QCA::SASL::Params::operator= ( const Params from)

Standard assignment operator.

Parameters
fromthe Params object to assign from

◆ needUsername()

bool QCA::SASL::Params::needUsername ( ) const

User is needed.

Examples
saslclient.cpp.

◆ canSendAuthzid()

bool QCA::SASL::Params::canSendAuthzid ( ) const

An Authorization ID can be sent if desired.

Examples
saslclient.cpp.

◆ needPassword()

bool QCA::SASL::Params::needPassword ( ) const

Password is needed.

Examples
saslclient.cpp.

◆ canSendRealm()

bool QCA::SASL::Params::canSendRealm ( ) const

A Realm can be sent if desired.

Examples
saslclient.cpp.

The documentation for this class was generated from the following file: