public IPrincipal GetPrincipal() { var identity = new CookieIdentity(this); return(new GenericPrincipal(identity, _roles)); }
public IPrincipal GetPrincipal() { var identity = new CookieIdentity(_name, _tag); return new GenericPrincipal(identity, _roles); }