Esempio n. 1
0
 /// <summary>
 /// 添加登录回跳Uri
 /// </summary>
 /// <param name="allowed"></param>
 public void AddRedirectUris(List <string> allowed)
 {
     if (RedirectUris == null)
     {
         RedirectUris = new List <ClientRedirectUri>();
     }
     RedirectUris.ForEach(x =>
     {
         x.IsDeleted = true;
     });
     RedirectUris.AddRange(allowed.Select(x => new ClientRedirectUri(x)));
 }