Python SDK for Bizfly2FA
Project description
=========== 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
Some simple examples of what DataReducer can do:
.. code :: python
import BizflyTwoFa from bizfly_two_fa
bizfly_2fa = BizflyTwoFa(
secret_key='app_secret_key'
)
# generate 2fa session
session_uid = bizfly_2fa.gen_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
)
print('result: ', result)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bizfly_two_fa-1.0.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for bizfly_two_fa-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8766dfdf03472fd058b810b1045f36a30aff2f3ba237436cff9704ce94fef94f |
|
MD5 | 9cb2543976f1b78ab7de23140de2d179 |
|
BLAKE2b-256 | 231e98777343ab1262413d94e4502a801be05aed1107e86d32ffa1db584e0baa |