class JIDFeatureSasl
|
A JID's SASL feature. More... |
|
|
Public Types
- enum Mechanism { MechNone = 0x00,
MechMD5 = 0x01,
MechSHA1 = 0x02,
MechPlain = 0x04,
}
Public Methods
Public Members
This class holds a JID SASL feature (authentication methods)
enum Mechanism { MechNone = 0x00,
MechMD5 = 0x01,
MechSHA1 = 0x02,
MechPlain = 0x04,
}
| Mechanism |
Mechanisms used to authenticate a stream
inline JIDFeatureSasl (int mech, bool required = false)
| JIDFeatureSasl |
Constructor
Parameters:
mech | Authentication mechanisms used by the JID
|
required | Required flag
|
inline int mechanism ()
| mechanism |
[const]
Get the authentication mechanisms used by the JID
Returns: The authentication mechanisms used by the JID
inline bool mechanism (Mechanism mech)
| mechanism |
[const]
Check if a given mechanism is allowed
Returns: True if the given mechanism is allowed
static TokenDict s_authMech[]
| s_authMech[] |
Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54. |