Table of Contents

Constructor DefaultAdministratorBootstrap

Namespace
MailFathom.Application.Access.DefaultAdministrator
Assembly
MailFathom.Application.dll

DefaultAdministratorBootstrap(AccessAuthorization, IDefaultAdministratorStore, IUserCredentialStore, IPasswordHasher, TimeProvider)

Initializes a new instance of the DefaultAdministratorBootstrap class.

public DefaultAdministratorBootstrap(AccessAuthorization authorization, IDefaultAdministratorStore store, IUserCredentialStore credentials, IPasswordHasher passwordHasher, TimeProvider timeProvider)

Parameters

authorization AccessAuthorization

Admits the process identity, which is the only principal a start runs under.

store IDefaultAdministratorStore

Where the record of the administrator and of the applied setting is kept.

credentials IUserCredentialStore

Reads the administrator's password credential back, to tell whether it is still the shipped one.

passwordHasher IPasswordHasher

Hashes the setting, and verifies the stored password against the shipped value.

timeProvider TimeProvider

Supplies the instant each record is written at.