# Class AuthRegistration

Namespace
  adas_core.Authentication.RegistrationExtensions

Assembly
  adas-core.Authentication.dll

Provides static functionality related to user authentication registration processes.

    public static class AuthRegistration

Inheritance
  object
  AuthRegistration

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

## Remarks

This static class serves as a container for registration-related authentication operations.

## Methods

### AddAuth(IServiceCollection)

Registers authentication-related services in the dependency injection container, including a singleton IUserService and a lazy wrapper for deferred resolution.

    public static void AddAuth(this IServiceCollection serviceCollection)

#### Parameters

`serviceCollection` IServiceCollection

  The service collection to which the authentication services are added.