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.

IdentityServerConfig.cs 1.0KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Teknik.Configuration
  5. {
  6. public class IdentityServerConfig
  7. {
  8. public string Host { get; set; }
  9. public string Authority { get; set; }
  10. public string ClientId { get; set; }
  11. public string ClientSecret { get; set; }
  12. public List<string> RedirectUris { get; set; }
  13. public List<string> PostLogoutRedirectUris { get; set; }
  14. public List<string> AllowedCorsOrigins { get; set; }
  15. public string APIName { get; set; }
  16. public string APISecret { get; set; }
  17. public IdentityServerConfig()
  18. {
  19. Host = "localhost:5002";
  20. Authority = "https://localhost:5002";
  21. ClientId = "mvc.client";
  22. ClientSecret = "mysecret";
  23. RedirectUris = new List<string>();
  24. PostLogoutRedirectUris = new List<string>();
  25. AllowedCorsOrigins = new List<string>();
  26. APIName = "api";
  27. APISecret = "secret";
  28. }
  29. }
  30. }