23 lines
675 B
Python
23 lines
675 B
Python
"""
|
|
ROA2WEB Shared Authentication Module
|
|
|
|
This module provides JWT-based authentication functionality that can be shared
|
|
across all ROA2WEB microservices.
|
|
|
|
Components:
|
|
- jwt_handler: JWT token creation, validation, and refresh
|
|
- auth_service: Oracle database authentication integration
|
|
- middleware: FastAPI middleware for token validation
|
|
- dependencies: FastAPI dependencies for protected routes
|
|
- models: Pydantic models for authentication data
|
|
- routes: Template authentication routes for FastAPI apps
|
|
"""
|
|
|
|
from .jwt_handler import jwt_handler, JWTHandler, TokenData, TokenResponse
|
|
|
|
__all__ = [
|
|
'jwt_handler',
|
|
'JWTHandler',
|
|
'TokenData',
|
|
'TokenResponse'
|
|
] |