Metadata-Version: 2.1
Name: authentication-factory
Version: 0.0.1
Summary: Implementation for Microsoft Oauth2 authentication
Home-page: https://github.com/shrivastava-v-ankit/authentication-factory
Author: Ankit Shrivastava
License: MIT
Project-URL: Source, https://github.com/shrivastava-v-ankit/authentication-factory/
Project-URL: Tracker, https://github.com/shrivastava-v-ankit/authentication-factory/issues
Keywords: streamlit,flask,microsoft,json web token,oauth2,authentication
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Flask
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Version Control :: Git
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: requests (==2.28.2)
Requires-Dist: msal (==1.20.0)
Requires-Dist: pyjwt (==2.6.0)
Requires-Dist: Flask (==2.2.3)
Requires-Dist: Jinja2 (==3.0.0)
Requires-Dist: MarkupSafe (==2.1.2)
Requires-Dist: WTForms (==3.0.1)
Requires-Dist: Werkzeug (==2.2.3)
Requires-Dist: click (==8.1.3)
Requires-Dist: importlib-metadata (==6.4.1)
Requires-Dist: itsdangerous (==2.1.2)
Requires-Dist: zipp (==3.15.0)
Requires-Dist: pyasn1 (==0.4.8)
Requires-Dist: ecdsa (==0.18.0)
Requires-Dist: rsa (==4.9)
Requires-Dist: six (==1.16.0)
Requires-Dist: certifi (==2022.12.7)
Requires-Dist: charset-normalizer (==2.0.12)
Requires-Dist: idna (==3.4)
Requires-Dist: urllib3 (==1.26.15)
Requires-Dist: cffi (==1.15.1)
Requires-Dist: cryptography (==36.0.2)
Requires-Dist: pycparser (==2.21)
Requires-Dist: blinker (==1.6.2)

# authentication-factory

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI](https://img.shields.io/pypi/v/authentication-factory.svg)](https://pypi.org/project/authentication-factory)


**Note: This is inital version of the factory with support of Microsoft OAuth2.0 only with Streamlit.**


authentication-factory is a simple python implementation of authentication using below listed authentication mechanism.

   * Microsoft OAuth2.0

This extension helps to implement authentication solutions and provides
login url, logout url and id token.
These can be used in python web application like Streamlit, Flask etc.

</br>
</br>

## Getting Started
-----

</br>

## Installation

```bash
pip install authentication-factory
```

</br>

### Usage
-----
   * [Streamlit](streamlit-example.md)


</br>
</br>

### Development Setup
-------
#### Using virtualenv

```bash
python3 -m venv venv
source env/bin/activate
pip install .
```
</br>
</br>

### Contributing
-----

1. Fork repo- https://github.com/shrivastava-v-ankit/authentication-factory.git
2. Create your feature branch - `git checkout -b feature/name`
3. Add Python test (pytest) and covrage report for new/changed feature.
4. Commit your changes - `git commit -am "Added name"`
5. Push to the branch - `git push origin feature/name`
6. Create a new pull request

