| Home | Trees | Indices | Help |
|
|---|
|
|
Provides DIGEST-MD5 SASL authentication for a client.
Authentication properties used:
- "username" - user name (required)
- "authzid" - authorization id (optional)
- "service-type" - service type as required by the DIGEST-MD5 protocol (required)
- "service-domain" - service domain (the 'serv-name' or 'host' part of diges-uri of DIGEST-MD5) (required)
- "service-hostname" - service host name (the 'host' par of diges-uri of DIGEST-MD5) (required)
- "realm" - the realm to use if needed (optional)
- "realms" - list of acceptable realms (optional)
Authentication properties returned:
- "username" - user name
- "authzid" - authorization id
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
| sasl.Response or sasl.Failure |
|
||
| sasl.Response or sasl.Failure |
|
||
bytes or Failure
|
|
||
| sasl.Response or sasl.Failure |
|
||
| sasl.Success or sasl.Failure |
|
||
|
Inherited from |
|||
|
|||
|
|||
|
|||
__abstractmethods__ =
|
|||
_abc_cache = <_weakrefset.WeakSet object at 0x9d3298c>
|
|||
_abc_negative_cache = <_weakrefset.WeakSet object at 0x9d3292c>
|
|||
_pyxmpp_sasl_preference = 50
|
|||
_pyxmpp_sasl_secure = 70
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Check if the provided properties are sufficient for
this authentication mechanism.
If `are_properties_sufficient` returns False for given `properties`
mapping, the `start` method of `cls` instance will also fail with
such argument.
:Parameters:
- `properties`: the `authentication properties`_
:Types:
- `properties`: mapping
:Return: if the mechanism can be used with those properties
|
Start the authentication process.
:Parameters:
- `properties`: the `authentication properties`_
:Types:
- `properties`: mapping
:return: the initial response to send to the server or a failuer
indicator.
:returntype: `Response` or `Failure`
|
|
|
|
|
Process success indicator from the server. Process any addiitional data passed with the success. Fail if the server was not authenticated.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Sep 22 12:47:30 2013 | http://epydoc.sourceforge.net |