protected internal UserToken(SmdUserBase user, [NotNull] string loginProvider, [NotNull] string name, string value) { UserId = user.Id; LoginProvider = loginProvider; Name = name; Value = value; }
public UserClaim(SmdUserBase user, Claim claim) { UserId = user.Id; ClaimType = claim.Type; ClaimValue = claim.Value; }