aboutsummaryrefslogtreecommitdiff
path: root/lib/VNLib.Data.Caching.Extensions/src
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VNLib.Data.Caching.Extensions/src')
-rw-r--r--lib/VNLib.Data.Caching.Extensions/src/ApiModel/ServiceEndpoints.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/VNLib.Data.Caching.Extensions/src/ApiModel/ServiceEndpoints.cs b/lib/VNLib.Data.Caching.Extensions/src/ApiModel/ServiceEndpoints.cs
index c0de4a3..413bd3c 100644
--- a/lib/VNLib.Data.Caching.Extensions/src/ApiModel/ServiceEndpoints.cs
+++ b/lib/VNLib.Data.Caching.Extensions/src/ApiModel/ServiceEndpoints.cs
@@ -89,6 +89,15 @@ namespace VNLib.Data.Caching.Extensions.ApiModel
}
}
+ /*
+ * These methods define consitend endpoint definitions that must match the server
+ * endpoints.
+ *
+ * Most requests will send an authorization header with a signed JWT that includes
+ * a random challenge that the server will return in the response.
+ *
+ * All responses will be signed JWTs that must be verified before continuing
+ */
private static string BuildDiscoveryAuthToken(ICacheConnectionRequest request)
{