public FeeblPrincipal(FeeblIdentity identity) { _identity = identity; _roles = new List <string>(); _roles.Add("User"); if (identity.IsAdmin) { _roles.Add("Admin"); } }
public FeeblPrincipal() { _identity = new FeeblIdentity(); _roles = new List <string>(); }