Table of Contents

Class AuthMapContributor

Namespace
adas_core.Infrastructure.Utils.MongoMaps
Assembly
adas-core.Infrastructure.dll

Represents an entity map contributor that provides authentication-related mapping logic.

public class AuthMapContributor : IEntityMapContributor
Inheritance
AuthMapContributor
Implements
Inherited Members
Extension Methods

Methods

RegisterMaps()

Registers BSON class maps for the User and Authorization types when no class map has been registered yet, configuring field serialization rules such as ignoring null or empty values, mapping the identifier to the "_id" element name, and unmapping navigation properties not intended for persistence.

public void RegisterMaps()