Interface SDK for LoginID infrastructure
Project description
LoginID Python SDK
About
The server SDK to connect with LoginID's infrastructure
Installation
- Install from GitHub:
git clone git@github.com:loginid1/python-sdk.git
cd python-sdk
pip install -e .
- Install with
pip
pip install loginid
Quick start
Once the package is installed, you can import the package and connect to LoginID's backend
from loginid import LoginID, LoginIdManagement
lApplication = LoginID(CLIENT_ID, PRIVATE_KEY)
lManagement = LoginIdManagement(MANAGEMNET_CLIENT_ID, MANAGEMENT_PRIVATE_KEY)
# verify a JWT token
token = "some_JWT_token"
print(lApplication.verifyToken(token, USERNAME))
# extract user ID with management
print(lManagement.getUserId(USERNAME))
Refer to our documentations at https://docs.loginid.io/Server-SDKs/Python/python-get-started for more details.
Tell us how we’re doing
Have our solution in production? Tell us about your site on marketing@loginid.io and we’ll post on our social channels!
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
loginid-0.0.3.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file loginid-0.0.3.tar.gz
.
File metadata
- Download URL: loginid-0.0.3.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af4b479c13751aec1ce3fcb69f8d5952fc7e45337d27156ea7276e0ed7b5ddde |
|
MD5 | d7fc76cb4896fa9bcc05c2f5662d9278 |
|
BLAKE2b-256 | 4e9466a1fcca5a2bd41a708c403f8ea3f2219b3d36d10859e9248b28998f997d |
File details
Details for the file loginid-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: loginid-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d083aed802208eeac0eced83a5f5aedec233c7f5c1d17f88c2453f929f26a4ed |
|
MD5 | eebad5d13adc8024ee9976b7c9934ac7 |
|
BLAKE2b-256 | b61cf60c9b678618d231b40e956dd6a354d4cf647167654d221cee06bd5eb55b |