many: minor cosmetic changes (#529)

This commit is contained in:
Jonathan Amsterdam 2025-09-25 16:06:24 -04:00 • committed by GitHub
commit 5f05f8a43a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,8 +56,6 @@ func TokenInfoFromContext(ctx context.Context) *TokenInfo {
// If verification succeeds, the [TokenInfo] is added to the request's context and the request proceeds.
// If verification fails, the request fails with a 401 Unauthenticated, and the WWW-Authenticate header
// is populated to enable [protected resource metadata].
//
//
// [protected resource metadata]: https://datatracker.ietf.org/doc/rfc9728
func RequireBearerToken(verifier TokenVerifier, opts *RequireBearerTokenOptions) func(http.Handler) http.Handler {