Пример #1
0
 private void LoadLookups()
 {
     Claims = PredefinedData.GetClaimTypes();
 }
 private void LoadLookups(ApiResource apiResource)
 {
     Claims = PredefinedData.GetClaimTypes();
     Scopes = apiResource.Scopes.Select(ApiResourceMappers.ToModel).ToList();
 }
Пример #3
0
 private void LoadLookups(Client client)
 {
     Types = new[] { new SelectListItem("<Custom>", string.Empty) }
     .Union(PredefinedData.GetClaimTypes().Select(x => new SelectListItem(x, x)));
     Claims = client.Claims.Select(ClientMappers.ToModel).ToList();
 }