| Home | Trees | Index | Help |
|
|---|
| Package pyxmpp :: Package sasl :: Module plain :: Class PlainClientAuthenticator |
|
ClientAuthenticator --+
|
PlainClientAuthenticator
Provides PLAIN SASL authentication for a client.
| Method Summary | |
|---|---|
Initialize a `PlainClientAuthenticator` object. | |
Process the challenge and return the response. | |
Handle authentication succes information from the server. | |
Start the authentication process and return the initial response. | |
| Method Details |
|---|
__init__(self,
password_manager)
|
challenge(self, challenge)
Process the challenge and return the response.
:Parameters:
- `challenge`: the challenge.
:Types:
- `challenge`: `str`
:return: the response or a failure indicator.
:returntype: `sasl.Response` or `sasl.Failure`
|
finish(self, data)
Handle authentication succes information from the server.
:Parameters:
- `data`: the optional additional data returned with the success.
:Types:
- `data`: `str`
:return: a success indicator.
:returntype: `Success`
|
start(self, username, authzid)
Start the authentication process and return the initial response.
:Parameters:
- `username`: username (authentication id).
- `authzid`: authorization id.
:Types:
- `username`: `unicode`
- `authzid`: `unicode`
:return: the initial response or a failure indicator.
:returntype: `sasl.Response` or `sasl.Failure`
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed May 31 22:36:59 2006 | http://epydoc.sf.net |