A JID's SASL feature. More...
#include <xmpputils.h>
Public Types | |
| enum | Mechanism { MechNone = 0x00, MechMD5 = 0x01, MechSHA1 = 0x02, MechPlain = 0x04 } |
Public Member Functions | |
| JIDFeatureSasl (int mech, bool required=false) | |
| int | mechanism () const |
| bool | mechanism (Mechanism mech) const |
| operator XMPPNamespace::Type () | |
Static Public Attributes | |
| static TokenDict | s_authMech [] |
A JID's SASL feature.
This class holds a JID SASL feature (authentication methods)
| enum Mechanism |
Mechanisms used to authenticate a stream
| JIDFeatureSasl | ( | int | mech, | |
| bool | required = false | |||
| ) | [inline] |
Constructor
| mech | Authentication mechanisms used by the JID | |
| required | Required flag |
| bool mechanism | ( | Mechanism | mech | ) | const [inline] |
Check if a given mechanism is allowed
| int mechanism | ( | ) | const [inline] |
Get the authentication mechanisms used by the JID
| operator XMPPNamespace::Type | ( | ) | [inline] |
XMPPNamespace::Type conversion operator
Reimplemented from JIDFeature.
TokenDict s_authMech[] [static] |
Authentication mechanism names
1.6.3