|
@@ -1,8 +1,10 @@
|
|
|
// ReSharper disable CollectionNeverUpdated.Global
|
|
// ReSharper disable CollectionNeverUpdated.Global
|
|
|
namespace RunnersMeet.Server;
|
|
namespace RunnersMeet.Server;
|
|
|
|
|
|
|
|
-public class AuthOptions
|
|
|
|
|
|
|
+public class AuthSettings
|
|
|
{
|
|
{
|
|
|
|
|
+ public const string SectionName = "Auth";
|
|
|
|
|
+
|
|
|
public string Authority { get; set; } = String.Empty;
|
|
public string Authority { get; set; } = String.Empty;
|
|
|
public string Audience { get; set; } = String.Empty;
|
|
public string Audience { get; set; } = String.Empty;
|
|
|
public IDictionary<string, string[]> PolicyClaims { get; set; } = new Dictionary<string, string[]>();
|
|
public IDictionary<string, string[]> PolicyClaims { get; set; } = new Dictionary<string, string[]>();
|