This commit fixes overly broad .gitignore patterns that were excluding important source code files from version control. Previously, wildcard patterns like *auth*, *token*, *secret*, *connection*, and *credential* were excluding ALL files containing these words, including critical application code. Changes: - Updated .gitignore with specific patterns for sensitive config files (*.json, *.txt, *.yml, *.yaml extensions only) - Removed broad wildcards that excluded source code files Added missing source files: - shared/auth/ (9 files): Complete authentication system - JWT handler, middleware, auth service, models, routes - reports-app/backend/app/routers/auth.py: Authentication API router - reports-app/backend/app/auth_middleware_wrapper.py: Middleware wrapper - reports-app/frontend/src/stores/auth.js: Vue.js auth store - reports-app/frontend/tests/: E2E tests and fixtures for auth - reports-app/telegram-bot/app/auth/: Telegram auth linking module - deployment/windows/scripts/Setup-ClaudeAuth.ps1: Windows deployment script - security/secrets_scanner.py: Security scanning utility These files are essential for the application to function and should have been included in the initial commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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'
|
|
] |