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.1.1.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file loginid-0.1.1.tar.gz
.
File metadata
- Download URL: loginid-0.1.1.tar.gz
- Upload date:
- Size: 4.6 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 | 1b3611d8e0e78f902728e49774f750af48ca723b318f0ccfb073d3586ecb0144 |
|
MD5 | d3caf655c7815876e49d641fb94b5aba |
|
BLAKE2b-256 | dbe116556ca71bc466416309af143180e9fd12c7e6356039545538394f63390b |
File details
Details for the file loginid-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: loginid-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.5 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 | 56938dcd55c85d6c7f5f50445c18620204979e3404f6fe1bcb72aa34b2b0ca7b |
|
MD5 | 05bd019430c2d190f6fcf588a0d037d7 |
|
BLAKE2b-256 | 323f908a98ff1a9b6a34c0a600346163ffaead3f3c9bac23d225680d3e0b6174 |