class JIDFeatureSasl

A JID's SASL feature. More...

Full nameTelEngine::JIDFeatureSasl
Definition#include <libs/yjingle/xmpputils.h>
InheritsTelEngine::JIDFeature [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Members


Detailed Description

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:
mechAuthentication mechanisms used by the JID
requiredRequired 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.