| Home | Trees | Index | Help |
|
|---|
| Package pyxmpp :: Package sasl |
|
SASL authentication implementaion for PyXMPP. Normative reference: - `RFC 2222 <http://www.ietf.org/rfc/rfc2222.txt>`__
| Submodules | |
|---|---|
| |
| Function Summary | |
|---|---|
Create a client authenticator object for given SASL mechanism and password manager. | |
Create a server authenticator object for given SASL mechanism and password manager. | |
| Variable Summary | |
|---|---|
str |
__revision__ = '$Id: __init__.py 477 2004-12-29 13:25:42...
|
list |
all_mechanisms = ['DIGEST-MD5', 'PLAIN']
|
dict |
all_mechanisms_dict = {'DIGEST-MD5': (<class pyxmpp.sasl...
|
list |
safe_mechanisms = ['DIGEST-MD5']
|
dict |
safe_mechanisms_dict = {'DIGEST-MD5': (<class pyxmpp.sas...
|
list |
unsafe_mechanisms = ['PLAIN']
|
dict |
unsafe_mechanisms_dict = {'PLAIN': (<class pyxmpp.sasl.p...
|
pyxmpp.sasl.core,
pyxmpp.sasl.digest_md5,
pyxmpp.sasl.plain,
random
Challenge,
DigestMD5ClientAuthenticator,
DigestMD5ServerAuthenticator,
Failure,
PasswordManager,
PlainClientAuthenticator,
PlainServerAuthenticator,
Reply,
Response,
Success
| Function Details |
|---|
client_authenticator_factory(mechanism, password_manager)
Create a client authenticator object for given SASL mechanism and
password manager.
:Parameters:
- `mechanism`: name of the SASL mechanism ("PLAIN" or "DIGEST-MD5").
- `password_manager`: name of the password manager object providing
authentication credentials.
:Types:
- `mechanism`: `str`
- `password_manager`: `PasswordManager`
:return: new authenticator.
:returntype: `sasl.core.ClientAuthenticator`
|
server_authenticator_factory(mechanism, password_manager)
Create a server authenticator object for given SASL mechanism and
password manager.
:Parameters:
- `mechanism`: name of the SASL mechanism ("PLAIN" or "DIGEST-MD5").
- `password_manager`: name of the password manager object to be used
for authentication credentials verification.
:Types:
- `mechanism`: `str`
- `password_manager`: `PasswordManager`
:return: new authenticator.
:returntype: `sasl.core.ServerAuthenticator`
|
| Variable Details |
|---|
__revision__
|
all_mechanisms
|
safe_mechanisms
|
safe_mechanisms_dict
|
unsafe_mechanisms
|
unsafe_mechanisms_dict
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed May 31 22:36:59 2006 | http://epydoc.sf.net |