diff options
author | vnugent <public@vaughnnugent.com> | 2023-07-15 13:06:00 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-07-15 13:06:00 -0400 |
commit | 8b4fb26473256da5eaa89f3e9d2ac5d44f1e9b88 (patch) | |
tree | 6ff979b6110b9e6c61ff9f22bb0dbdd2094e08cf /lib/VNLib.Data.Caching.Extensions/src/ApiModel/ServiceEndpoints.cs | |
parent | 2f674e79d42e7d36225fa9ac7ecefbc5bc62d325 (diff) |
Latest working draft
Diffstat (limited to 'lib/VNLib.Data.Caching.Extensions/src/ApiModel/ServiceEndpoints.cs')
-rw-r--r-- | lib/VNLib.Data.Caching.Extensions/src/ApiModel/ServiceEndpoints.cs | 9 |
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) { |