1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
<HTML>
<HEAD>
<TITLE>class JIDFeatureSasl</TITLE>
<META NAME="Generator" CONTENT="KDOC ">
</HEAD>
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff">
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD>
<TABLE BORDER="0">
<TR><TD valign="top" align="left" cellspacing="10">
<h1>class JIDFeatureSasl</h1>
</TD>
<TD valign="top" align="right" colspan="1">A JID's SASL feature. <small><A HREF="#longdesc">More...</A></small></TD></TR>
</TABLE>
<HR>
<TABLE BORDER="0">
<TR><TH>Full name</TH><TD><code><A HREF="TelEngine.html">TelEngine</A>::JIDFeatureSasl</code></TD></TR>
<TR><TH>Definition</TH><TD><code>#include <<A HREF="libs___yjingle___xmpputils_h.html">libs/yjingle/xmpputils.h</A>></code></TD></TR>
<TR><TH>Inherits</TH><TD><A HREF="TelEngine__JIDFeature.html">TelEngine::JIDFeature</A> <small>[public ]</small></TD></TR>
<TR><TH><A HREF="full-list-TelEngine__JIDFeatureSasl.html">List of all Methods</A></TH></TR>
</TABLE>
</TD>
<TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR>
<TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR>
<TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR>
<TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR>
<TR><TD><small><A HREF="index.html">Index</A></small></TD></TR>
</TABLE></TD></TR></TABLE>
<h4>Public Types</h4><ul><LI>enum <A HREF="#ref1">Mechanism</A> { MechNone = 0x00,
MechMD5 = 0x01,
MechSHA1 = 0x02,
MechPlain = 0x04,
}
</LI>
</ul><h4>Public Methods</h4><ul><LI>inline <b><A HREF="#ref2">JIDFeatureSasl</A></b> (int mech, bool required = false)
</LI>
<LI>inline int <b><A HREF="#ref3">mechanism</A></b> () const
</LI>
<LI>inline bool <b><A HREF="#ref4">mechanism</A></b> (Mechanism mech) const
</LI>
</ul><h4>Public Members</h4><ul><LI>static TokenDict <b><A HREF="#ref5">s_authMech[]</A></b></LI>
</ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p>
This class holds a JID SASL feature (authentication methods)
</p>
<A NAME="Mechanism"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td>enum <strong>Mechanism</strong> { MechNone = 0x00,
MechMD5 = 0x01,
MechSHA1 = 0x02,
MechPlain = 0x04,
}
</td><td align="right"><h3><strong>Mechanism</strong></h3></td></tr></table><p></p><p>
Mechanisms used to authenticate a stream
</p>
<A NAME="JIDFeatureSasl"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline <strong>JIDFeatureSasl</strong> (int mech, bool required = false)
<br></td><td align="right"><h3><strong>JIDFeatureSasl</strong></h3></td></tr></table><p></p><p>
Constructor
</p>
<p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5">
<TR><TD align="left" valign="top"><i>mech</i></TD><TD align="left" valign="top">Authentication mechanisms used by the JID
</TD></TR>
<TR><TD align="left" valign="top"><i>required</i></TD><TD align="left" valign="top">Required flag
</TD></TR>
</TABLE></P>
<A NAME="mechanism"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline int <strong>mechanism</strong> ()
<br></td><td align="right"><h3><strong>mechanism</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
Get the authentication mechanisms used by the JID
</p>
<p><b>Returns</b>: The authentication mechanisms used by the JID
</p>
<A NAME="mechanism"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>inline bool <strong>mechanism</strong> (Mechanism mech)
<br></td><td align="right"><h3><strong>mechanism</strong></h3></td></tr></table><p> <small>[const]</small></p><p>
Check if a given mechanism is allowed
</p>
<p><b>Returns</b>: True if the given mechanism is allowed
</p>
<A NAME="s_authMech[]"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td>static TokenDict <strong>s_authMech[]</strong>
</td><td align="right"><h3><strong>s_authMech[]</strong></h3></td></tr></table><p></p><HR>
<table>
<tr><td><small>Generated by: paulc on bussard on Mon Mar 8 12:18:15 2010, using kdoc 2.0a54.</small></td></tr>
</table>
</BODY>
</HTML>
|