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.1KB

123456789101112131415161718192021222324252627282930313233343536
  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 string SigningCertificate { get; set; }
  18. public IdentityServerConfig()
  19. {
  20. Host = "localhost:5002";
  21. Authority = "https://localhost:5002";
  22. ClientId = "mvc.client";
  23. ClientSecret = "mysecret";
  24. RedirectUris = new List<string>();
  25. PostLogoutRedirectUris = new List<string>();
  26. AllowedCorsOrigins = new List<string>();
  27. APIName = "api";
  28. APISecret = "secret";
  29. }
  30. }
  31. }