mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com> Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
22 lines
731 B
Markdown
22 lines
731 B
Markdown
# User Management
|
|
|
|
Handles user authentication, authorization, and profile management for the OpenHands app server.
|
|
|
|
## Overview
|
|
|
|
This module provides user management capabilities, including authentication, user profile access, and service resolution for user-scoped operations.
|
|
|
|
## Key Components
|
|
|
|
- **UserContext**: Abstract context for user operations
|
|
- **AuthUserContext**: Compatibility layer for user auth.
|
|
- **UserRouter**: FastAPI router for user-related endpoints
|
|
- **UserContextInjector**: Factory for getting user context with FastAPI dependency injection
|
|
|
|
## Features
|
|
|
|
- User authentication and session management
|
|
- Current user profile retrieval
|
|
- User-scoped service resolution
|
|
- JWT-based authentication integration
|