Skip to content

[configauth] Deprecate Authentication in favor of AuthenticationConfig #12904

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Apr 22, 2025

Description

Deprecates configauth.Authentication in favor of configauth.AuthenticationConfig.

Link to tracking issue

Fixes #12875

type Authentication = AuthenticationConfig

// AuthenticationConfig defines the auth settings for the receiver.
type AuthenticationConfig struct {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just Config?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are fine with having to add a more specific name to any other config struct we add to this package that is fine by me

Copy link

codecov bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.65%. Comparing base (901c395) to head (e7cd76e).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12904      +/-   ##
==========================================
+ Coverage   91.55%   91.65%   +0.09%     
==========================================
  Files         499      499              
  Lines       27102    27426     +324     
==========================================
+ Hits        24814    25138     +324     
  Misses       1809     1809              
  Partials      479      479              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[configauth] The configauth.Authentication should be suffixed with Config or rename to Config.
2 participants