Move APIKeys to file and allow read vs read/write
This commit is contained in:
12
Helpers/ApiKeys.cs
Normal file
12
Helpers/ApiKeys.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace TodoApi.Helpers;
|
||||
|
||||
public class ApiKeys
|
||||
{
|
||||
[JsonProperty("read_only")]
|
||||
public List<string> ReadOnly { get; set; } = [];
|
||||
|
||||
[JsonProperty("read_write")]
|
||||
public List<string> ReadWrite { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user