mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-04-16 06:36:26 +02:00
feat: add security module
This commit is contained in:
15
src/fastapi_toolsets/security/__init__.py
Normal file
15
src/fastapi_toolsets/security/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Authentication helpers for FastAPI using Security()."""
|
||||
|
||||
from .abc import AuthSource
|
||||
from .oauth import decode_oauth_state, encode_oauth_state
|
||||
from .sources import APIKeyHeaderAuth, BearerTokenAuth, CookieAuth, MultiAuth
|
||||
|
||||
__all__ = [
|
||||
"APIKeyHeaderAuth",
|
||||
"AuthSource",
|
||||
"BearerTokenAuth",
|
||||
"CookieAuth",
|
||||
"MultiAuth",
|
||||
"decode_oauth_state",
|
||||
"encode_oauth_state",
|
||||
]
|
||||
Reference in New Issue
Block a user