aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-01-01 23:03:35 -0600
committerJP Dillingham <jp@dillingham.me>2023-01-01 23:03:35 -0600
commit9b95614ad3464c4a6ca0239467b6d8af3e29ef97 (patch)
tree8628b6e51d824b879b050cc4b5ff4102cc56124c /src
parentadfe96f572c764c3567d7d7852273df7b492b33e (diff)
downloadslskd-9b95614ad3464c4a6ca0239467b6d8af3e29ef97.tar.gz
add ApiKeyOnly policy
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Common/Authentication/AuthPolicy.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slskd/Common/Authentication/AuthPolicy.cs b/src/slskd/Common/Authentication/AuthPolicy.cs
index e355b2e6..040104da 100644
--- a/src/slskd/Common/Authentication/AuthPolicy.cs
+++ b/src/slskd/Common/Authentication/AuthPolicy.cs
@@ -23,6 +23,7 @@ namespace slskd
public static class AuthPolicy
{
public const string JwtOnly = "Jwt";
+ public const string ApiKeyOnly = "ApiKeyOnly";
public const string Any = "Any";
}
}