Interface SDK for LoginID infrastructure
Project description
LoginID Python SDK
About
LoginID’s server SDK enables websites and apps to utilize FIDO2 certified strong customer authentication, including the ability to provide more sensitive operations such as credential management. By leveraging the end user’s existing device biometrics or however the device is unlocked (e.g. PIN for Windows Hello), you can quickly integrate multi-factor authentication into your site. LoginID also offers Transaction Confirmation, where a transaction can be cryptographically signed providing proof of the user’s confirmation of that specific transaction, which is perfect for online merchants or FIs looking for secure payment authentication. Our service is aligned with PSD2, GDPR, CCPA, and HIPPA. 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
Built Distribution
File details
Details for the file loginid-0.0.5.tar.gz
.
File metadata
- Download URL: loginid-0.0.5.tar.gz
- Upload date:
- Size: 9.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 | 54c4faf5a78d6d279d531f9925d33c34b596458e45a1d0d4a4ba261972c04811 |
|
MD5 | 235792f479477d1a0ae12ea7f8a7ed1c |
|
BLAKE2b-256 | d25f686d7caeaa344128df46e4467e63d2c3aac5c68b1c2f8112b031626e1f51 |
File details
Details for the file loginid-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: loginid-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.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 | 44163c445cb8084ae6c87a731ac4440325ed615a54cc9a2b24518ae34f35e3f6 |
|
MD5 | 2ef77d43609be886d546a667676ea20f |
|
BLAKE2b-256 | 374081e95679af0886dfedd015a95e5d32f9fa7b80d2ba6f16b650cfbf87af12 |