BizflyTwoFa
:Info: A python sdk for BizflyTwoFa.
:Repository: https://github.com/shinrel22/python_bizfly_two_fa
:Author: Tri Nguyen (https://github.com/shinrel22)
:Maintainer: Tri Nguyen (https://github.com/shinrel22)
Installation
pip install bizfly_two_fa
Examples
.. code :: python
from bizfly_two_fa import BizflyTwoFa
>>> bizfly_2fa = BizflyTwoFa(
secret_key='app_secret_key'
)
# generate 2fa session
>>> session_uid = bizfly_2fa.generate_session(
email='user_email',
phone='user_phone'
)
# send otp
>>> bizfly_2fa.send_otp(
session_uid=session_uid,
delivery_type='sms',
)
# verify otp
>>> result = bizfly_2fa.verify_otp(
otp_value='user otp input',
session_uid=session_uid
)
>>> result
Release files for bizfly-two-fa 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bizfly_two_fa-1.0.5.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bizfly_two_fa-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / bizfly_two_fa-1.0.5.tar.gz
| Download URL | bizfly_two_fa-1.0.5.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
472fba03fee362ffff1f4f0fa5773b3336a525a9979ed17e3630cd289b2d746c
|
|
BLAKE2b-256 checksum How to use checksums |
7be321ed9a73e689ef589fe5abe98824b4ee44a0a01d24c5ab7f1e5ba6c8ed79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
|
Release files / bizfly_two_fa-1.0.5-py3-none-any.whl
| Download URL | bizfly_two_fa-1.0.5-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc6d28243d362324550696c6168743eba86fb96d34266e99ed92da71d984ab75
|
|
BLAKE2b-256 checksum How to use checksums |
7de80c09b4a6e9c55ec2baa25e092a810171fb35cbb11072019f50820d60ce42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8
|