-
Notifications
You must be signed in to change notification settings - Fork 0
📝 Add docstrings to feature/auth
#6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Docstrings generation was requested by @ImGdevel. * #5 (comment) The following files were modified: * `ProjectVG.Api/ApiServiceCollectionExtensions.cs` * `ProjectVG.Api/Controllers/AuthController.cs` * `ProjectVG.Api/Controllers/ChatController.cs` * `ProjectVG.Api/Controllers/OAuthController.cs` * `ProjectVG.Api/Filters/JwtAuthenticationFilter.cs` * `ProjectVG.Api/Middleware/GlobalExceptionHandler.cs` * `ProjectVG.Api/Middleware/WebSocketMiddleware.cs` * `ProjectVG.Api/Models/Auth/Request/RegisterRequest.cs` * `ProjectVG.Application/ApplicationServiceCollectionExtensions.cs` * `ProjectVG.Application/Models/Chat/ChatMessageSegment.cs` * `ProjectVG.Application/Models/Chat/ChatProcessContext.cs` * `ProjectVG.Application/Models/Chat/ProcessChatCommand.cs` * `ProjectVG.Application/Models/Chat/UserInputAnalysis.cs` * `ProjectVG.Application/Models/User/UserDto.cs` * `ProjectVG.Application/Services/Auth/AuthService.cs` * `ProjectVG.Application/Services/Auth/IAuthService.cs` * `ProjectVG.Application/Services/Auth/IOAuth2Provider.cs` * `ProjectVG.Application/Services/Auth/IOAuth2Service.cs` * `ProjectVG.Application/Services/Auth/OAuth2ProviderFactory.cs` * `ProjectVG.Application/Services/Auth/OAuth2Service.cs` * `ProjectVG.Application/Services/Auth/Providers/AppleOAuth2Provider.cs` * `ProjectVG.Application/Services/Auth/Providers/GoogleOAuth2Provider.cs` * `ProjectVG.Application/Services/Chat/ChatService.cs` * `ProjectVG.Application/Services/Chat/CostTracking/ChatMetricsService.cs` * `ProjectVG.Application/Services/Chat/CostTracking/CostTrackingDecorator.cs` * `ProjectVG.Application/Services/Chat/CostTracking/CostTrackingDecoratorFactory.cs` * `ProjectVG.Application/Services/Chat/CostTracking/IChatMetricsService.cs` * `ProjectVG.Application/Services/Chat/CostTracking/ICostTrackingDecorator.cs` * `ProjectVG.Application/Services/Chat/Factories/ChatLLMFormat.cs` * `ProjectVG.Application/Services/Chat/Factories/ILLMFormat.cs` * `ProjectVG.Application/Services/Chat/Factories/UserInputAnalysisLLMFormat.cs` * `ProjectVG.Application/Services/Chat/Handlers/ChatFailureHandler.cs` * `ProjectVG.Application/Services/Chat/Preprocessors/MemoryContextPreprocessor.cs` * `ProjectVG.Application/Services/Chat/Preprocessors/UserInputAnalysisProcessor.cs` * `ProjectVG.Application/Services/Chat/Processors/ChatLLMProcessor.cs` * `ProjectVG.Application/Services/Chat/Processors/ChatResultProcessor.cs` * `ProjectVG.Application/Services/Chat/Processors/ChatTTSProcessor.cs` * `ProjectVG.Application/Services/Chat/Validators/ChatRequestValidator.cs` * `ProjectVG.Application/Services/Session/ConnectionRegistry.cs` * `ProjectVG.Application/Services/Session/IConnectionRegistry.cs` * `ProjectVG.Application/Services/User/IUserService.cs` * `ProjectVG.Application/Services/User/UserService.cs` * `ProjectVG.Application/Services/WebSocket/IWebSocketManager.cs` * `ProjectVG.Application/Services/WebSocket/WebSocketManager.cs` * `ProjectVG.Common/Constants/ErrorCodes.cs` * `ProjectVG.Common/Constants/LLMModelInfo.cs` * `ProjectVG.Common/Constants/TTSCostInfo.cs` * `ProjectVG.Common/Exceptions/AuthenticationException.cs` * `ProjectVG.Common/Exceptions/ValidationException.cs` * `ProjectVG.Common/Models/Session/IClientConnection.cs` * `ProjectVG.Common/Utils/UidGenerator.cs` * `ProjectVG.Infrastructure/Auth/IRefreshTokenStorage.cs` * `ProjectVG.Infrastructure/Auth/ITokenService.cs` * `ProjectVG.Infrastructure/Auth/InMemoryRefreshTokenStorage.cs` * `ProjectVG.Infrastructure/Auth/JwtProvider.cs` * `ProjectVG.Infrastructure/Auth/JwtService.cs` * `ProjectVG.Infrastructure/Auth/RedisRefreshTokenStorage.cs` * `ProjectVG.Infrastructure/Auth/TokenService.cs` * `ProjectVG.Infrastructure/InfrastructureServiceCollectionExtensions.cs` * `ProjectVG.Infrastructure/Integrations/LLMClient/LLMClient.cs` * `ProjectVG.Infrastructure/Integrations/MemoryClient/IMemoryClient.cs` * `ProjectVG.Infrastructure/Integrations/MemoryClient/VectorMemoryClient.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Data/ProjectVGDbContext.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023623_AddUIDToUser.Designer.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023623_AddUIDToUser.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023833_AddUIDToUserTable.Designer.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023833_AddUIDToUserTable.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023955_AddUIDFieldToUser.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825051022_UpdateUserEntityWithUIDAndStatus.Designer.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825135004_IncreaseUIDLength.Designer.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825135004_IncreaseUIDLength.cs` * `ProjectVG.Infrastructure/Persistence/EfCore/Migrations/ProjectVGDbContextModelSnapshot.cs` * `ProjectVG.Infrastructure/Persistence/Repositories/Character/SqlServerCharacterRepository.cs` * `ProjectVG.Infrastructure/Persistence/Repositories/User/IUserRepository.cs` * `ProjectVG.Infrastructure/Persistence/Repositories/User/SqlServerUserRepository.cs` * `ProjectVG.Infrastructure/Persistence/Session/InMemorySessionStorage.cs` * `ProjectVG.Infrastructure/Realtime/WebSocketConnection/WebSocketClientConnection.cs` * `test-clients/start-oauth2-client.py`
Important Review skippedCodeRabbit bot authored PR detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Docstrings generation was requested by @ImGdevel.
The following files were modified:
ProjectVG.Api/ApiServiceCollectionExtensions.cs
ProjectVG.Api/Controllers/AuthController.cs
ProjectVG.Api/Controllers/ChatController.cs
ProjectVG.Api/Controllers/OAuthController.cs
ProjectVG.Api/Filters/JwtAuthenticationFilter.cs
ProjectVG.Api/Middleware/GlobalExceptionHandler.cs
ProjectVG.Api/Middleware/WebSocketMiddleware.cs
ProjectVG.Api/Models/Auth/Request/RegisterRequest.cs
ProjectVG.Application/ApplicationServiceCollectionExtensions.cs
ProjectVG.Application/Models/Chat/ChatMessageSegment.cs
ProjectVG.Application/Models/Chat/ChatProcessContext.cs
ProjectVG.Application/Models/Chat/ProcessChatCommand.cs
ProjectVG.Application/Models/Chat/UserInputAnalysis.cs
ProjectVG.Application/Models/User/UserDto.cs
ProjectVG.Application/Services/Auth/AuthService.cs
ProjectVG.Application/Services/Auth/IAuthService.cs
ProjectVG.Application/Services/Auth/IOAuth2Provider.cs
ProjectVG.Application/Services/Auth/IOAuth2Service.cs
ProjectVG.Application/Services/Auth/OAuth2ProviderFactory.cs
ProjectVG.Application/Services/Auth/OAuth2Service.cs
ProjectVG.Application/Services/Auth/Providers/AppleOAuth2Provider.cs
ProjectVG.Application/Services/Auth/Providers/GoogleOAuth2Provider.cs
ProjectVG.Application/Services/Chat/ChatService.cs
ProjectVG.Application/Services/Chat/CostTracking/ChatMetricsService.cs
ProjectVG.Application/Services/Chat/CostTracking/CostTrackingDecorator.cs
ProjectVG.Application/Services/Chat/CostTracking/CostTrackingDecoratorFactory.cs
ProjectVG.Application/Services/Chat/CostTracking/IChatMetricsService.cs
ProjectVG.Application/Services/Chat/CostTracking/ICostTrackingDecorator.cs
ProjectVG.Application/Services/Chat/Factories/ChatLLMFormat.cs
ProjectVG.Application/Services/Chat/Factories/ILLMFormat.cs
ProjectVG.Application/Services/Chat/Factories/UserInputAnalysisLLMFormat.cs
ProjectVG.Application/Services/Chat/Handlers/ChatFailureHandler.cs
ProjectVG.Application/Services/Chat/Preprocessors/MemoryContextPreprocessor.cs
ProjectVG.Application/Services/Chat/Preprocessors/UserInputAnalysisProcessor.cs
ProjectVG.Application/Services/Chat/Processors/ChatLLMProcessor.cs
ProjectVG.Application/Services/Chat/Processors/ChatResultProcessor.cs
ProjectVG.Application/Services/Chat/Processors/ChatTTSProcessor.cs
ProjectVG.Application/Services/Chat/Validators/ChatRequestValidator.cs
ProjectVG.Application/Services/Session/ConnectionRegistry.cs
ProjectVG.Application/Services/Session/IConnectionRegistry.cs
ProjectVG.Application/Services/User/IUserService.cs
ProjectVG.Application/Services/User/UserService.cs
ProjectVG.Application/Services/WebSocket/IWebSocketManager.cs
ProjectVG.Application/Services/WebSocket/WebSocketManager.cs
ProjectVG.Common/Constants/ErrorCodes.cs
ProjectVG.Common/Constants/LLMModelInfo.cs
ProjectVG.Common/Constants/TTSCostInfo.cs
ProjectVG.Common/Exceptions/AuthenticationException.cs
ProjectVG.Common/Exceptions/ValidationException.cs
ProjectVG.Common/Models/Session/IClientConnection.cs
ProjectVG.Common/Utils/UidGenerator.cs
ProjectVG.Infrastructure/Auth/IRefreshTokenStorage.cs
ProjectVG.Infrastructure/Auth/ITokenService.cs
ProjectVG.Infrastructure/Auth/InMemoryRefreshTokenStorage.cs
ProjectVG.Infrastructure/Auth/JwtProvider.cs
ProjectVG.Infrastructure/Auth/JwtService.cs
ProjectVG.Infrastructure/Auth/RedisRefreshTokenStorage.cs
ProjectVG.Infrastructure/Auth/TokenService.cs
ProjectVG.Infrastructure/InfrastructureServiceCollectionExtensions.cs
ProjectVG.Infrastructure/Integrations/LLMClient/LLMClient.cs
ProjectVG.Infrastructure/Integrations/MemoryClient/IMemoryClient.cs
ProjectVG.Infrastructure/Integrations/MemoryClient/VectorMemoryClient.cs
ProjectVG.Infrastructure/Persistence/EfCore/Data/ProjectVGDbContext.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023623_AddUIDToUser.Designer.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023623_AddUIDToUser.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023833_AddUIDToUserTable.Designer.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023833_AddUIDToUserTable.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023955_AddUIDFieldToUser.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825051022_UpdateUserEntityWithUIDAndStatus.Designer.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825135004_IncreaseUIDLength.Designer.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825135004_IncreaseUIDLength.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/ProjectVGDbContextModelSnapshot.cs
ProjectVG.Infrastructure/Persistence/Repositories/Character/SqlServerCharacterRepository.cs
ProjectVG.Infrastructure/Persistence/Repositories/User/IUserRepository.cs
ProjectVG.Infrastructure/Persistence/Repositories/User/SqlServerUserRepository.cs
ProjectVG.Infrastructure/Persistence/Session/InMemorySessionStorage.cs
ProjectVG.Infrastructure/Realtime/WebSocketConnection/WebSocketClientConnection.cs
test-clients/start-oauth2-client.py
These files were kept as they were
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023955_AddUIDFieldToUser.Designer.cs
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825051022_UpdateUserEntityWithUIDAndStatus.cs
These files were ignored
ProjectVG.Tests/Auth/AuthServiceTests.cs
ProjectVG.Tests/Auth/JwtAuthenticationFilterTests.cs
ProjectVG.Tests/Auth/JwtIntegrationTests.cs
ProjectVG.Tests/Auth/JwtProviderTests.cs
ProjectVG.Tests/Auth/TokenServiceTests.cs
These file types are not supported
.dockerignore
.gitignore
ProjectVG.Api/Dockerfile
ProjectVG.Api/ProjectVG.Api.csproj
ProjectVG.Api/Properties/launchSettings.json
ProjectVG.Api/appsettings.Development.json
ProjectVG.Api/appsettings.Production.json
ProjectVG.Api/appsettings.json
ProjectVG.Api/wwwroot/.gitkeep
ProjectVG.Common/ProjectVG.Common.csproj
ProjectVG.Infrastructure/ProjectVG.Infrastructure.csproj
ProjectVG.Tests/ProjectVG.Tests.csproj
ProjectVG.sln
README.md
docs/unity_auth_guide.md
docs/unity_cookie_handling.md
docs/unity_oauth2_handler.md
docs/unity_oauth2_pkce_implementation.md
env.example
scripts/cleanup-docker-all.ps1
scripts/cleanup-docker.ps1
scripts/dev-setup.ps1
scripts/start-api.ps1
scripts/start-db.ps1
scripts/start-oauth2-client-node.ps1
scripts/stop-all.ps1
test-clients/README.md
test-clients/jwt-test-client.html
test-clients/oauth2-test-client.html
test-clients/package.json
test-clients/test-client.html
ℹ️ Note