Home
last modified time | relevance | path

Searched refs:get_provisioning_uri (Results 1 – 6 of 6) sorted by relevance

/external/python/cryptography/tests/hazmat/primitives/twofactor/
Dtest_hotp.py104 assert hotp.get_provisioning_uri("Alice Smith", 1, None) == (
109 assert hotp.get_provisioning_uri("Alice Smith", 1, "Foo") == (
Dtest_totp.py140 assert totp.get_provisioning_uri("Alice Smith", None) == (
145 assert totp.get_provisioning_uri("Alice Smith", "World") == (
/external/python/cryptography/docs/hazmat/primitives/
Dtwofactor.rst88 .. method:: get_provisioning_uri(account_name, counter, issuer)
209 .. method:: get_provisioning_uri(account_name, issuer)
229 For generating a provisioning URI you can use the ``get_provisioning_uri``
238 hotp_uri = hotp.get_provisioning_uri(account_name, counter, issuer_name)
239 totp_uri = totp.get_provisioning_uri(account_name, issuer_name)
/external/python/cryptography/src/cryptography/hazmat/primitives/twofactor/
Dtotp.py44 def get_provisioning_uri(self, account_name, issuer): member in TOTP
Dhotp.py66 def get_provisioning_uri(self, account_name, counter, issuer): member in HOTP
/external/python/cryptography/
DCHANGELOG.rst1103 * Add ``get_provisioning_uri`` method to