Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.
/ warrant-lite Public archive
forked from capless/warrant-lite

Python library for process SRP requests for AWS Cognito

License

Notifications You must be signed in to change notification settings

WayLit/warrant-lite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

warrant-lite

Small Python library for process SRP requests for AWS Cognito. This library was initially included in the Warrant library. We decided to separate it because not all projects and workfows need all of the helper classes and functions in Warrant.

Install

pip install warrant-lite

Usage

from warrant_lite import WarrantLite


wl = WarrantLite(username='username', password='password',
                          pool_id='pool_id',client_id='client_id', 
                          client_secret='client_secret')

tokens = wl.authenticate_user() #client is an optional (keyword) argument

#Verify Tokens
wl.verify_token(tokens['AuthenticationResult']['AccessToken'], 'access_token', 'access') #Access Token example

About

Python library for process SRP requests for AWS Cognito

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%