Skip to content

Commit

Permalink
Added stub for ldap.sasl
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Oct 24, 2015
1 parent 71e9d46 commit abef0bb
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
python-ldap Documentation
##########################

.. % $Id: index.rst,v 1.8 2011/10/26 19:42:45 stroeder Exp $
.. % $Id: index.rst,v 1.9 2015/10/24 12:49:41 stroeder Exp $
.. topic:: Abstract

Expand Down Expand Up @@ -30,6 +30,7 @@ Contents
ldap-resiter.rst
ldap-schema.rst
ldap-syncrepl.rst
ldap-sasl.rst
ldif.rst
ldapurl.rst
dsml.rst
Expand Down
69 changes: 69 additions & 0 deletions Doc/ldap-sasl.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
.. % $Id: ldap-sasl.rst,v 1.1 2015/10/24 12:49:41 stroeder Exp $
********************************************
:py:mod:`ldap.sasl` Handling LDAPv3 schema
********************************************

.. py:module:: ldap.sasl
This module implements various authentication methods for SASL bind.

.. seealso::

:rfc:`4422` - Simple Authentication and Security Layer (SASL)


:py:mod:`ldap.sasl` SASL bind requests
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. py:module:: ldap.sasl
.. py:data:: CB_USER
.. py:data:: CB_AUTHNAME
.. py:data:: CB_LANGUAGE
.. py:data:: CB_PASS
.. py:data:: CB_ECHOPROMPT
.. py:data:: CB_NOECHOPROMPT
.. py:data:: CB_GETREALM
Functions
=========

.. autofunction:: ldap.sasl.subentry.urlfetch

Classes
=======

.. autoclass:: ldap.sasl.sasl
:members:

.. autoclass:: ldap.sasl.cram_md5
:members:

.. autoclass:: ldap.sasl.digest_md5
:members:

.. autoclass:: ldap.sasl.gssapi
:members:

.. autoclass:: ldap.sasl.external
:members:


.. _ldap.sasl-example:

Examples for ldap.sasl
^^^^^^^^^^^^^^^^^^^^^^^^

::

import ldap.sasl

0 comments on commit abef0bb

Please sign in to comment.