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 974B

1234567891011121314151617181920212223242526272829303132
  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 Authority { get; set; }
  9. public string ClientId { get; set; }
  10. public string ClientSecret { get; set; }
  11. public List<string> RedirectUris { get; set; }
  12. public List<string> PostLogoutRedirectUris { get; set; }
  13. public List<string> AllowedCorsOrigins { get; set; }
  14. public string APIName { get; set; }
  15. public string APISecret { get; set; }
  16. public IdentityServerConfig()
  17. {
  18. Authority = "https://localhost:5002";
  19. ClientId = "mvc.client";
  20. ClientSecret = "mysecret";
  21. RedirectUris = new List<string>();
  22. PostLogoutRedirectUris = new List<string>();
  23. AllowedCorsOrigins = new List<string>();
  24. APIName = "api";
  25. APISecret = "secret";
  26. }
  27. }
  28. }