Constructor GrantAdministration
- Namespace
- MailFathom.Application.Access.Grants
- Assembly
- MailFathom.Application.dll
GrantAdministration(AccessAuthorization, IGrantStore, IUserCredentialStore, IGrantAuditor, TimeProvider)
Initializes the administration over one deployment's roles, groups, and assignments.
public GrantAdministration(AccessAuthorization authorization, IGrantStore grants, IUserCredentialStore credentials, IGrantAuditor auditor, TimeProvider timeProvider)
Parameters
authorizationAccessAuthorizationWhat each act is admitted by.
grantsIGrantStoreWhere roles, groups, and assignments are kept.
credentialsIUserCredentialStoreWhere a user's credentials are kept, which an explanation reads the narrowing of.
auditorIGrantAuditorWhere each change is recorded.
timeProviderTimeProviderThe clock a record is stamped with.
Exceptions
- ArgumentNullException
Thrown when any argument is null.