Yate
|
#include <xmpputils.h>
Public Member Functions | |
XMPPFeatureSasl (int mech, bool required=false) | |
int | mechanisms () const |
bool | mechanism (int mech) const |
virtual XmlElement * | build (bool addReq=true) |
XMPPFeatureSasl | ( | int | mech, |
bool | required = false |
||
) | [inline] |
Constructor
mech | Authentication mechanism(s) |
required | Required flag |
virtual XmlElement* build | ( | bool | addReq = true | ) | [virtual] |
Build an xml element from this feature
addReq | True to add the required/optional child |
Reimplemented from XMPPFeature.
bool mechanism | ( | int | mech | ) | const [inline] |
Check if a given mechanism is allowed
int mechanisms | ( | ) | const [inline] |
Get the authentication mechanisms