summaryrefslogtreecommitdiff
path: root/docs/lib/passlib.context-interface.rst
blob: 8331992aaf6eb36f91826da1437fb8cf1a3b2c30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.. index:: CryptContext; interface

.. _cryptcontext-interface:

===============================================
:mod:`passlib.context` - Module Contents
===============================================

.. currentmodule:: passlib.context

This details all the constructors and methods provided by :class:`!CryptContext`
and :class:`!CryptPolicy`.

.. seealso::

    * :doc:`passlib.context-usage`

    * :doc:`passlib.context-options`

The Context Object
==================
.. autoclass:: CryptContext(schemes=None, policy=<default policy>, \*\*kwds)

The Policy Object
=================
.. autoclass:: CryptPolicy(\*\*kwds)

Other Helpers
=============
.. autoclass:: LazyCryptContext([schemes=None,] **kwds [, create_policy=None])