Exemple #1
0
 private ApplicationPrincipal(ApplicationIdentity <TUser> identity)
 {
     Identity = identity;
 }
Exemple #2
0
        public static ApplicationPrincipal <TUser> Create(TUser user = null)
        {
            var identity = new ApplicationIdentity <TUser>(user);

            return(new ApplicationPrincipal <TUser>(identity));
        }