clean up some names and complete doc comments for event

This commit is contained in:
2025-03-30 13:23:22 -01:06
parent 93e09b1592
commit 41f613da2d
67 changed files with 399 additions and 323 deletions

View File

@@ -120,7 +120,7 @@ func CheckAuth(r *http.Request, vfn VerifyJWTFunc, tolerance ...time.Duration) (
if !valid {
return
}
pubkey = ev.PubKey
pubkey = ev.Pubkey
case strings.HasPrefix(val, JWTPrefix):
if vfn == nil {
err = errorf.E("JWT bearer header found but no JWT verifier function provided")