Esempio n. 1
0
        public void SetIdentity(string userName, string authenticationType, bool isAuthenticated)
        {
            var identity = new IdentityCustom();

            identity.SetAuthenticationType(authenticationType);
            identity.SetIsAuthenticated(isAuthenticated);
            identity.SetName(userName);
            this._identity = identity;
        }
Esempio n. 2
0
 public void SetIdentity(IdentityCustom identity)
 {
     this._identity = identity;
 }
Esempio n. 3
0
 public PrincipalCustom(IdentityCustom identity)
 {
     this._identity = identity;
 }