Table of Contents

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

authorization AccessAuthorization

What each act is admitted by.

grants IGrantStore

Where roles, groups, and assignments are kept.

credentials IUserCredentialStore

Where a user's credentials are kept, which an explanation reads the narrowing of.

auditor IGrantAuditor

Where each change is recorded.

timeProvider TimeProvider

The clock a record is stamped with.

Exceptions

ArgumentNullException

Thrown when any argument is null.