Metadata-Version: 2.1
Name: auth_package
Version: 1.4
Summary: Auth package for authentication with microservices
Home-page: https://www.ramzamani.com/
Download-URL: https://github.com/zamaniramin549/auth_project_package/archive/refs/tags/1.4.tar.gz
Author: Ramin Zamanighiri
Author-email: zamaniramin549@gmail.com
License: mit
Keywords: microservices,Auth package,API
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt

Auth package is crated for authenticating user for microservices.
It is in beta version and I don't recomd to use it for production until the stable release.

In order to use auth package first install the package by 

pip install auth-package==1.1

then import it 

from auth_package import user, permission

api_key = 'test_api_e56643c8-2311-4e25-991f-03d365243f51'

email = 'test@gmail.com'
first_name = 'test1'
last_name = 'test2'
password = 'password'

for creating user

create_user = user.create_user(email, first_name, last_name, password, api_key)
user_list = user.user_list(api_key)


for authenticating user 

authenticate = user.authenticate_user(email, password, api_key)
print(authenticate)
