QCA::SASL::Params Class Reference

Parameter flags for the SASL authentication. More...

#include <QtCrypto>

Collaboration diagram for QCA::SASL::Params:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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:

sasltest.cpp.


Constructor & Destructor Documentation

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:
user the username is required
authzid the authorization identity is required
pass the password is required
realm the realm is required

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

Standard copy constructor.

Parameters:
from the Params object to copy


Member Function Documentation

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

Standard assignment operator.

Parameters:
from the Params object to assign from

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

User is needed.

Examples:
sasltest.cpp.

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

An Authorization ID can be sent if desired.

Examples:
sasltest.cpp.

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

Password is needed.

Examples:
sasltest.cpp.

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

A Realm can be sent if desired.

Examples:
sasltest.cpp.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 13:24:17 2007 for Qt Cryptographic Architecture by  doxygen 1.4.6