add missing comments

This commit is contained in:
David Christofas
2022-08-22 14:15:13 +02:00
parent b5ef10dc2b
commit 12d42e0074
5 changed files with 4 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ type BasicAuthenticator struct {
UserOIDCClaim string
}
// Authenticate implements the authenticator interface to authenticate requests via basic auth.
func (m BasicAuthenticator) Authenticate(r *http.Request) (*http.Request, bool) {
if isPublicPath(r.URL.Path) {
// The authentication of public path requests is handled by another authenticator.