-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconsider removing function signatures from auth interfaces #4535
Comments
…en-telemetry#4535)" This reverts commit 5405247.
…en-telemetry#4535)" Fixes open-telemetry#4559 This reverts commit 5405247. Signed-off-by: Juraci Paixão Kröhling <[email protected]>
)" (#4560) Fixes #4559 This reverts commit 5405247. Signed-off-by: Juraci Paixão Kröhling <[email protected]>
@jpkrohling can this be closed? |
We still have this in the server interceptors, but I think this one is fine: opentelemetry-collector/config/configauth/serverauth.go Lines 42 to 44 in 51fcb65
If you are OK in keeping, this can be closed, as the original comment was about the HTTP one, which was indeed removed already. |
The AuthFunc is fine, my whole comments were about having the other helpers/customizations. Anyway all good. |
This is ready again. @bogdandrutu, there's still one point pending, about storing the
HTTPInterceptorFunc
signature in a type to be used by things like structs within authenticators and tests. If you agree, I would merge this and open an issue to discuss this pattern.Originally posted by @jpkrohling in #4506 (comment)
The text was updated successfully, but these errors were encountered: