|
|
This class holds a SASL feature along with authentication mechanisms
inline XMPPFeatureSasl (int mech, bool required = false)
| XMPPFeatureSasl |
Constructor
Parameters:
mech | Authentication mechanism(s) |
required | Required flag |
inline int mechanisms ()
| mechanisms |
[const]
Get the authentication mechanisms
Returns: The authentication mechanisms used by the JID
inline bool mechanism (int mech)
| mechanism |
[const]
Check if a given mechanism is allowed
Returns: True if the given mechanism is allowed
XmlElement* build (bool addReq = true)
| build |
[virtual]
Build an xml element from this feature
Parameters:
addReq | True to add the required/optional child |
Returns: XmlElement pointer or 0
Reimplemented from XMPPFeature.
Generated by: paulc on bussard on Fri Apr 1 18:17:10 2011, using kdoc 2.0a54. |