diff options
Diffstat (limited to 'lib/VNLib.Data.Caching.Extensions')
-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) { |