예제 #1
0
 /// <summary>
 /// 添加用户声明
 /// </summary>
 /// <param name="userClaims"></param>
 public void AddUserClaims(List <string> userClaims)
 {
     if (UserClaims == null)
     {
         UserClaims = new List <ApiResourceClaim>();
     }
     UserClaims.AddRange(userClaims.Select(x => new ApiResourceClaim(x)));
 }