Skip to main content

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

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.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bizfly_two_fa-1.0.5-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file bizfly_two_fa-1.0.5.tar.gz.

File metadata

  • Download URL: bizfly_two_fa-1.0.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for bizfly_two_fa-1.0.5.tar.gz
Algorithm Hash digest
SHA256 472fba03fee362ffff1f4f0fa5773b3336a525a9979ed17e3630cd289b2d746c
MD5 2db8c2d77df91ac147da80c06716d7b4
BLAKE2b-256 7be321ed9a73e689ef589fe5abe98824b4ee44a0a01d24c5ab7f1e5ba6c8ed79

See more details on using hashes here.

File details

Details for the file bizfly_two_fa-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: bizfly_two_fa-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for bizfly_two_fa-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 dc6d28243d362324550696c6168743eba86fb96d34266e99ed92da71d984ab75
MD5 97b1b0e47ab47b3729be817e28dd976c
BLAKE2b-256 7de80c09b4a6e9c55ec2baa25e092a810171fb35cbb11072019f50820d60ce42

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page