Esempio n. 1
0
        private SombraPrincipal CreatePrincipal(UserLoginResponse userLoginResponse)
        {
            var identity = new SombraIdentity(GetUserClaims(userLoginResponse), userLoginResponse.UserKey, userLoginResponse.Role, _authenticationScheme);

            return(new SombraPrincipal(identity));
        }
Esempio n. 2
0
 public SombraPrincipal(SombraIdentity identity) : base(identity)
 {
     Identity = identity;
 }