diff options
author | 2021-09-16 11:35:09 +0200 | |
---|---|---|
committer | 2021-09-16 11:35:09 +0200 | |
commit | 92186c8c6f1c374146f085b46a440b69a1d97aa8 (patch) | |
tree | 06d7aea58ee399c4939ffa9052bcc548427cbfa4 /internal/util/uri.go | |
parent | Fix mentions not notifying (#230) (diff) | |
download | gotosocial-92186c8c6f1c374146f085b46a440b69a1d97aa8.tar.xz |
federated authentication better logging + tidying (#232)
* change trace logging in authenticator
* messing about
* lil changes
* go fmt
* error fix
* Fix broken test
Diffstat (limited to 'internal/util/uri.go')
-rw-r--r-- | internal/util/uri.go | 2 |
1 files changed, 2 insertions, 0 deletions
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" ) |