Beispiel #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;
        }
Beispiel #2
0
 public void SetIdentity(IdentityCustom identity)
 {
     this._identity = identity;
 }
Beispiel #3
0
 public PrincipalCustom(IdentityCustom identity)
 {
     this._identity = identity;
 }