Package xmpp :: Module auth :: Class SASL
[show private | hide private]
[frames | no frames]

Class SASL

PlugIn --+
         |
        SASL


Implements SASL authentication.
Method Summary
  auth(self, username, password)
Start authentication.
  FeaturesHandler(self, conn, feats)
Used to determine if server supports SASL auth.
  plugin(self, owner)
  plugout(self)
Remove SASL handlers from owner's dispatcher.
  SASLHandler(self, conn, challenge)
Perform next SASL auth step.
    Inherited from PlugIn
  __init__(self)
  DEBUG(self, text, severity)
Feed a provided debug line to main instance's debug facility along with our ID string.
  PlugIn(self, owner)
Attach to main instance and register ourself and all our staff in it.
  PlugOut(self)
Unregister all our staff from main instance and detach from it.

Method Details

auth(self, username, password)

Start authentication. Result can be obtained via "SASL.startsasl" attribute and will be either "success" or "failure". Note that successfull auth will take at least two Dispatcher.Process() calls.

FeaturesHandler(self, conn, feats)

Used to determine if server supports SASL auth. Used internally.

plugout(self)

Remove SASL handlers from owner's dispatcher. Used internally.

SASLHandler(self, conn, challenge)

Perform next SASL auth step. Used internally.

Generated by Epydoc 2.1 on Sun Dec 26 09:52:57 2004 http://epydoc.sf.net