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

@@ -186,6 +186,7 @@ func (m SignedURLAuthenticator) getSigningKey(ctx context.Context, ocisID string
return res.Records[0].Value, nil
}
// Authenticate implements the authenticator interface to authenticate requests via signed URL auth.
func (m SignedURLAuthenticator) Authenticate(r *http.Request) (*http.Request, bool) {
if !m.shouldServe(r) {
return nil, false