A Verify SDK for confirming identity of GotIt authenticated apps
Project description
GotIt Verify SDK
Description
This SDK is used to verify the identity of an app that attempts to access Got It APIs. The client of the app needs to provide an environment name, app key an app secret to use the SDK.
Installation
Usage
from gotit_verify import Verify
verify = Verify(env, app_key, app_secret)
new_auth = verify.create_verification(
channel, template_name, to,
subject_params={}, body_params = {}
)
check_auth = verify.check_verification(channel, to, code)
The two respective variables will contain the content as followed:
check_auth: Dict{
id:int,
channel: str,
to: str,
code: str,
status: str,
denied_reasons: str
}
new_auth: Dict{
id: int,
channel: str,
template_name: str,
subject_params: dict,
body_params: dict,
code: str,
expiration_date: str,
status: str
}
LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gotit-verify-0.0.2.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file gotit-verify-0.0.2.tar.gz
.
File metadata
- Download URL: gotit-verify-0.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7a96deb3dfd8fccc978e6844f1933a3d7c4fc9a27a757697b65839f6fe4147 |
|
MD5 | f78e8f0073907c7d3f7e8a1eb4bf2a13 |
|
BLAKE2b-256 | 18adb14e24712da9ff717d9df9d0b8f193ef2646f30d03d1d77e475ec1733bff |
File details
Details for the file gotit_verify-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: gotit_verify-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 351a4266fec691d1a3a97906d2872dafbb07ba8daa05676066f3d2238f90717b |
|
MD5 | 607a92b335dd6790e415acdc440a9eab |
|
BLAKE2b-256 | 8fe45ec9bab84575122d26102e190378c2b164416235293ec93262aa90b0ffbe |