public SecurityIdentity(AuthenticationStatus status)
 {
     _status           = status;
     _identityUnit     = null;
     _lastLoginDateUtc = DateTime.MinValue;
     Name = null;
 }
 public SecurityIdentity(EntityTenant identityUnit)
 {
     _status       = AuthenticationStatus.Success;
     _identityUnit = identityUnit;
 }