summaryrefslogtreecommitdiff
path: root/docs/lib
diff options
context:
space:
mode:
Diffstat (limited to 'docs/lib')
-rw-r--r--docs/lib/passlib.totp.rst16
1 files changed, 9 insertions, 7 deletions
diff --git a/docs/lib/passlib.totp.rst b/docs/lib/passlib.totp.rst
index d9cd5cc..7a891fb 100644
--- a/docs/lib/passlib.totp.rst
+++ b/docs/lib/passlib.totp.rst
@@ -66,13 +66,6 @@ Most of this information will be serialized by :meth:`TOTP.to_uri` and :meth:`TO
.. autoattribute:: TOTP.alg
.. autoattribute:: TOTP.period
-..
- Undocumented Helper Methods
- ---------------------------
-
- .. automethod:: TOTP.normalize_token
- .. automethod:: TOTP.normalize_time
-
Token Generation
================
Token generation is generally useful client-side, and for generating
@@ -157,6 +150,15 @@ these methods will automatically encrypt the resulting keys.
* The :ref:`totp-storing-instances` tutorial for more details.
+Helper Methods
+==============
+While :meth:`TOTP.generate`, :meth:`TOTP.match`, and :meth:`TOTP.verify`
+automatically handle normalizing tokens & time values, the following methods
+are exposed in case they are useful in other contexts:
+
+.. automethod:: TOTP.normalize_token
+.. automethod:: TOTP.normalize_time
+
AppWallet
=========
The :class:`!AppWallet` class is used internally by the :meth:`TOTP.using` method