# DbSets / Users

User entity CRUD operations, authentication, and JWT token management via extension methods.

## Key Files

- **`IAcUserDbSetBase.cs`** — Hierarchical interfaces with optional Profile, Company, Address dependencies.
- **`AcUserDbSetExtensions.cs`** — AuthenticateUser, GetUserById/ByEmail, AddUser, UpdateUser, RemoveUser, UpdateJwtRefreshToken (sync + async).
- **`IAcUserTokenDbSet.cs`** — UserToken DbSet interface.
- **`AcUserTokenDbSetExtensions.cs`** — CreateUserToken, GetActiveUserToken, IsValidToken, DeactivateTokens, ChangePassword.
- **`IAcUserChangePasswordDbSet.cs`** — Combined interface for password change operations.
- **`IAcUserToCompanyDbSetBase.cs`** — UserToCompany mapping interface.
