ApiScope.cs 893 B

12345678910111213141516171819202122232425
  1. // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
  2. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
  3. #pragma warning disable 1591
  4. using Microsoft.WindowsAzure.Storage.Table;
  5. using System.Collections.Generic;
  6. namespace HaBook.IES.IdentityServer.AzureTableStorage.Entities
  7. {
  8. public class ApiScope :TableEntity
  9. {
  10. public int Id { get; set; }
  11. public string Name { get; set; }
  12. public string DisplayName { get; set; }
  13. public string Description { get; set; }
  14. public bool Required { get; set; }
  15. public bool Emphasize { get; set; }
  16. public bool ShowInDiscoveryDocument { get; set; } = true;
  17. public List<ApiScopeClaim> UserClaims { get; set; }
  18. public int ApiResourceId { get; set; }
  19. public ApiResource ApiResource { get; set; }
  20. }
  21. }