Metadata-Version: 2.3
Name: scda-dash-auth
Version: 0.3.5
Summary: wrapper for scda dash authentication qdt auth service and Microsoft Identity Platform
Author: Cesar Flores
Author-email: cesar@qdt.ai
Requires-Python: >=3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: dash-auth (>=2.3.0,<3.0.0)
Description-Content-Type: text/markdown

# Introduction

Dash authorization using Microsoft Azure Active Directory and QDT Authentication framework.
This projects requires the authentication service running.

## Installation

Install the package using pip:

```bash
pip install scda_dash_auth
```

## Usage

To add authentication, add the following to your Dash app:

```python
from scda_dash_auth import SCDAAuth

auth = SCDAAuth(
    app,
    app_name = 'my-app',
    secret_key = 'some-secret-key-for-session',
    auth_url = 'http://0.0.0.0:8000',
)
```

This will add the authentication to your Dash app. The `auth_url` should point to the authentication service.

