diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-06-03 23:02:06 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-06-03 23:02:06 -0500 |
commit | 724617c44784954dc435a986481320caccc77a43 (patch) | |
tree | 80e6c6544eb796bc5e77536b2bdd7d84bb7ea967 /docs/hazmat | |
parent | d3532d4dc0f7a09efbf98890eba07a45e500f66a (diff) | |
download | cryptography-724617c44784954dc435a986481320caccc77a43.tar.gz cryptography-724617c44784954dc435a986481320caccc77a43.tar.bz2 cryptography-724617c44784954dc435a986481320caccc77a43.zip |
some docs cleanup for OTP
Diffstat (limited to 'docs/hazmat')
-rw-r--r-- | docs/hazmat/primitives/twofactor.rst | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/hazmat/primitives/twofactor.rst b/docs/hazmat/primitives/twofactor.rst index f49d02f9..df70a58a 100644 --- a/docs/hazmat/primitives/twofactor.rst +++ b/docs/hazmat/primitives/twofactor.rst @@ -76,12 +76,15 @@ codes (HMAC). .. method:: get_provisioning_uri(account_name, counter, issuer) - :param str account_name: The display name of account, such as + :param account_name: The display name of account, such as ``'Alice Smith'`` or ``'alice@example.com'``. - :param issuer: The optional display name of issuer. - :type issuer: `string` or `None` + :type account_name: :term:`text` + :param issuer: The optional display name of issuer. This is typically + the provider or service the user wants to access using the OTP + token. + :type issuer: :term:`text` or `None` :param int counter: The current value of counter. - :return str: An URI string. + :return: A URI string. Throttling ~~~~~~~~~~ @@ -183,11 +186,14 @@ similar to the following code. .. method:: get_provisioning_uri(account_name, issuer) - :param str account_name: The display name of account, such as + :param account_name: The display name of account, such as ``'Alice Smith'`` or ``'alice@example.com'``. - :param issuer: The optional display name of issuer. - :type issuer: `string` or `None` - :return str: An URI string. + :type: :term:`text` + :param issuer: The optional display name of issuer. This is typically + the provider or service the user wants to access using the OTP + token. + :type issuer: :term:`text` or `None` + :return: A URI string. Provisioning URI ~~~~~~~~~~~~~~~~ |