The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GrantsViewModel.cs 665B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Teknik.IdentityServer.ViewModels
  4. {
  5. public class GrantsViewModel
  6. {
  7. public IEnumerable<GrantViewModel> Grants { get; set; }
  8. }
  9. public class GrantViewModel
  10. {
  11. public string ClientId { get; set; }
  12. public string ClientName { get; set; }
  13. public string ClientUrl { get; set; }
  14. public string ClientLogoUrl { get; set; }
  15. public DateTime Created { get; set; }
  16. public DateTime? Expires { get; set; }
  17. public IEnumerable<string> IdentityGrantNames { get; set; }
  18. public IEnumerable<string> ApiGrantNames { get; set; }
  19. }
  20. }