Metadata-Version: 2.1
Name: starlette_auth
Version: 0.1.0
Summary: Authentication library for Starlette.
Home-page: https://github.com/alex-oleshkevich/starlette_auth
License: MIT
Author: Alex Oleshkevich
Author-email: alex.oleshkevich@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Provides-Extra: starsessions
Requires-Dist: itsdangerous (>=2.2.0,<3.0.0)
Requires-Dist: starlette
Requires-Dist: starsessions ; extra == "starsessions"
Project-URL: Documentation, https://github.com/alex-oleshkevich/starlette_auth
Project-URL: Repository, https://github.com/alex-oleshkevich/starlette_auth
Description-Content-Type: text/markdown

# Starlette Auth

Authentication library for Starlette.

![PyPI](https://img.shields.io/pypi/v/starlette_auth)
![GitHub](https://img.shields.io/github/license/alex-oleshkevich/starlette_auth)
![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/pypi/starlette_auth)
![PyPI - Downloads](https://img.shields.io/pypi/dm/starlette_auth)
![GitHub Release Date](https://img.shields.io/github/release-date/alex-oleshkevich/starlette_auth)

## Installation

Install `starlette_auth` using PIP or poetry:

```bash
pip install starlette_auth
```

## Features

- __Vanilla Starlette integration.__ Following standards ensures compatibility with other libraries.
- __Multiple backends.__ Supports multiple authentication backends (e.g. database, OAuth, etc.)
- __Remember me.__ Persistent sessions with expiration time.
- __Middleware__ to protect route segments.
- Session fixation protection

## Quick start

See example application in [examples/](examples/) directory of this repository.

