mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
V1 Integration (#11183)
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>
This commit is contained in:
21
openhands/app_server/user/README.md
Normal file
21
openhands/app_server/user/README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user