From 92186c8c6f1c374146f085b46a440b69a1d97aa8 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 16 Sep 2021 11:35:09 +0200 Subject: federated authentication better logging + tidying (#232) * change trace logging in authenticator * messing about * lil changes * go fmt * error fix * Fix broken test --- internal/util/uri.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/util/uri.go') diff --git a/internal/util/uri.go b/internal/util/uri.go index 91f523a4d..734becf13 100644 --- a/internal/util/uri.go +++ b/internal/util/uri.go @@ -72,6 +72,8 @@ const ( APRequestingActorIRI APContextKey = "requestingActorIRI" // APRequestingPublicKeyVerifier can be used to set and retrieve the public key verifier of an incoming federation request. APRequestingPublicKeyVerifier APContextKey = "requestingPublicKeyVerifier" + // APRequestingPublicKeySignature can be used to set and retrieve the value of the signature header of an incoming federation request. + APRequestingPublicKeySignature APContextKey = "requestingPublicKeySignature" // APFromFederatorChanKey can be used to pass a pointer to the fromFederator channel into the federator for use in callbacks. APFromFederatorChanKey APContextKey = "fromFederatorChan" ) -- cgit v1.2.3