BasicAuthHandler constructor

Initializes a new instance of the BasicAuthHandler class.

public BasicAuthHandler(IOptionsMonitor<BasicAuthenticationOptions> options, 
    ILoggerFactory loggerFactory, UrlEncoder encoder)
parameter description
options The options for Basic Authentication.
loggerFactory The logger factory.
encoder The URL encoder.

Remarks

This constructor is used to set up the Basic Authentication handler with the provided options, logger factory, and URL encoder.

See Also