Skip to content

Rename AuthenticationHandler constructor argument ILoggerFactory to loggerFactory #62500

@Meir017

Description

@Meir017

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

The current constructor has a ILoggerFactory as an argument named logger, this is misleading.

https://github.com/dotnet/aspnetcore/blob/4d23e511baea8af1e2813b95d41abdb61111393e/src/Security/Authentication/Core/src/AuthenticationHandler.cs#L133C5-L133C114

Describe the solution you'd like

-     protected AuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory logger, UrlEncoder encoder)
+     protected AuthenticationHandler(IOptionsMonitor<TOptions> options, ILoggerFactory loggerFactory, UrlEncoder encoder)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✔️ Resolution: Won't FixResolved because we decided not to change the behavior reported in this issue.Status: Resolvedarea-authIncludes: Authn, Authz, OAuth, OIDC, Bearer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions