Beispiel #1
0
        public FeeblPrincipal(FeeblIdentity identity)
        {
            _identity = identity;
            _roles    = new List <string>();

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