public void ProcessPartialSuccessfulAuthenticationAttempt(DateTime whenAttempted, AuthenticationHistoryType stage) { this._authenticationHistories.Add(new AuthenticationHistory(Guid.NewGuid(), whenAttempted, stage)); }
public AuthenticationHistory(Guid id, DateTime whenHappened, AuthenticationHistoryType authenticationHistoryType) { this.Id = id; this.WhenHappened = whenHappened; this.AuthenticationHistoryType = authenticationHistoryType; }