=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -9,12 +9,14 @@ namespace adas_core.Authentication.RegistrationExtensions;
|
||||
/// <remarks>
|
||||
/// This static class serves as a container for registration-related authentication operations.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=adfaf21 -->
|
||||
public static class AuthRegistration
|
||||
{
|
||||
/// <summary>
|
||||
/// Registers authentication-related services in the dependency injection container, including a singleton <see cref="IUserService"/> and a lazy wrapper for deferred resolution.
|
||||
/// </summary>
|
||||
/// <param name="serviceCollection">The service collection to which the authentication services are added.</param>
|
||||
/// <!-- aidoc:v1 sig=01f4b10 body=0bc4709 -->
|
||||
public static void AddAuth(this IServiceCollection serviceCollection)
|
||||
{
|
||||
serviceCollection.AddSingleton<IUserService, UserService>();
|
||||
|
||||
Reference in New Issue
Block a user