-
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.csProjectVG.Api/Controllers/AuthController.csProjectVG.Api/Controllers/ChatController.csProjectVG.Api/Controllers/OAuthController.csProjectVG.Api/Filters/JwtAuthenticationFilter.csProjectVG.Api/Middleware/GlobalExceptionHandler.csProjectVG.Api/Middleware/WebSocketMiddleware.csProjectVG.Api/Models/Auth/Request/RegisterRequest.csProjectVG.Application/ApplicationServiceCollectionExtensions.csProjectVG.Application/Models/Chat/ChatMessageSegment.csProjectVG.Application/Models/Chat/ChatProcessContext.csProjectVG.Application/Models/Chat/ProcessChatCommand.csProjectVG.Application/Models/Chat/UserInputAnalysis.csProjectVG.Application/Models/User/UserDto.csProjectVG.Application/Services/Auth/AuthService.csProjectVG.Application/Services/Auth/IAuthService.csProjectVG.Application/Services/Auth/IOAuth2Provider.csProjectVG.Application/Services/Auth/IOAuth2Service.csProjectVG.Application/Services/Auth/OAuth2ProviderFactory.csProjectVG.Application/Services/Auth/OAuth2Service.csProjectVG.Application/Services/Auth/Providers/AppleOAuth2Provider.csProjectVG.Application/Services/Auth/Providers/GoogleOAuth2Provider.csProjectVG.Application/Services/Chat/ChatService.csProjectVG.Application/Services/Chat/CostTracking/ChatMetricsService.csProjectVG.Application/Services/Chat/CostTracking/CostTrackingDecorator.csProjectVG.Application/Services/Chat/CostTracking/CostTrackingDecoratorFactory.csProjectVG.Application/Services/Chat/CostTracking/IChatMetricsService.csProjectVG.Application/Services/Chat/CostTracking/ICostTrackingDecorator.csProjectVG.Application/Services/Chat/Factories/ChatLLMFormat.csProjectVG.Application/Services/Chat/Factories/ILLMFormat.csProjectVG.Application/Services/Chat/Factories/UserInputAnalysisLLMFormat.csProjectVG.Application/Services/Chat/Handlers/ChatFailureHandler.csProjectVG.Application/Services/Chat/Preprocessors/MemoryContextPreprocessor.csProjectVG.Application/Services/Chat/Preprocessors/UserInputAnalysisProcessor.csProjectVG.Application/Services/Chat/Processors/ChatLLMProcessor.csProjectVG.Application/Services/Chat/Processors/ChatResultProcessor.csProjectVG.Application/Services/Chat/Processors/ChatTTSProcessor.csProjectVG.Application/Services/Chat/Validators/ChatRequestValidator.csProjectVG.Application/Services/Session/ConnectionRegistry.csProjectVG.Application/Services/Session/IConnectionRegistry.csProjectVG.Application/Services/User/IUserService.csProjectVG.Application/Services/User/UserService.csProjectVG.Application/Services/WebSocket/IWebSocketManager.csProjectVG.Application/Services/WebSocket/WebSocketManager.csProjectVG.Common/Constants/ErrorCodes.csProjectVG.Common/Constants/LLMModelInfo.csProjectVG.Common/Constants/TTSCostInfo.csProjectVG.Common/Exceptions/AuthenticationException.csProjectVG.Common/Exceptions/ValidationException.csProjectVG.Common/Models/Session/IClientConnection.csProjectVG.Common/Utils/UidGenerator.csProjectVG.Infrastructure/Auth/IRefreshTokenStorage.csProjectVG.Infrastructure/Auth/ITokenService.csProjectVG.Infrastructure/Auth/InMemoryRefreshTokenStorage.csProjectVG.Infrastructure/Auth/JwtProvider.csProjectVG.Infrastructure/Auth/JwtService.csProjectVG.Infrastructure/Auth/RedisRefreshTokenStorage.csProjectVG.Infrastructure/Auth/TokenService.csProjectVG.Infrastructure/InfrastructureServiceCollectionExtensions.csProjectVG.Infrastructure/Integrations/LLMClient/LLMClient.csProjectVG.Infrastructure/Integrations/MemoryClient/IMemoryClient.csProjectVG.Infrastructure/Integrations/MemoryClient/VectorMemoryClient.csProjectVG.Infrastructure/Persistence/EfCore/Data/ProjectVGDbContext.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023623_AddUIDToUser.Designer.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023623_AddUIDToUser.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023833_AddUIDToUserTable.Designer.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023833_AddUIDToUserTable.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023955_AddUIDFieldToUser.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825051022_UpdateUserEntityWithUIDAndStatus.Designer.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825135004_IncreaseUIDLength.Designer.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825135004_IncreaseUIDLength.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/ProjectVGDbContextModelSnapshot.csProjectVG.Infrastructure/Persistence/Repositories/Character/SqlServerCharacterRepository.csProjectVG.Infrastructure/Persistence/Repositories/User/IUserRepository.csProjectVG.Infrastructure/Persistence/Repositories/User/SqlServerUserRepository.csProjectVG.Infrastructure/Persistence/Session/InMemorySessionStorage.csProjectVG.Infrastructure/Realtime/WebSocketConnection/WebSocketClientConnection.cstest-clients/start-oauth2-client.pyThese files were kept as they were
ProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825023955_AddUIDFieldToUser.Designer.csProjectVG.Infrastructure/Persistence/EfCore/Migrations/20250825051022_UpdateUserEntityWithUIDAndStatus.csThese files were ignored
ProjectVG.Tests/Auth/AuthServiceTests.csProjectVG.Tests/Auth/JwtAuthenticationFilterTests.csProjectVG.Tests/Auth/JwtIntegrationTests.csProjectVG.Tests/Auth/JwtProviderTests.csProjectVG.Tests/Auth/TokenServiceTests.csThese file types are not supported
.dockerignore.gitignoreProjectVG.Api/DockerfileProjectVG.Api/ProjectVG.Api.csprojProjectVG.Api/Properties/launchSettings.jsonProjectVG.Api/appsettings.Development.jsonProjectVG.Api/appsettings.Production.jsonProjectVG.Api/appsettings.jsonProjectVG.Api/wwwroot/.gitkeepProjectVG.Common/ProjectVG.Common.csprojProjectVG.Infrastructure/ProjectVG.Infrastructure.csprojProjectVG.Tests/ProjectVG.Tests.csprojProjectVG.slnREADME.mddocs/unity_auth_guide.mddocs/unity_cookie_handling.mddocs/unity_oauth2_handler.mddocs/unity_oauth2_pkce_implementation.mdenv.examplescripts/cleanup-docker-all.ps1scripts/cleanup-docker.ps1scripts/dev-setup.ps1scripts/start-api.ps1scripts/start-db.ps1scripts/start-oauth2-client-node.ps1scripts/stop-all.ps1test-clients/README.mdtest-clients/jwt-test-client.htmltest-clients/oauth2-test-client.htmltest-clients/package.jsontest-clients/test-client.htmlℹ️ Note