BasicAuthHandler constructor
Initializes a new instance of the BasicAuthHandler class.
public BasicAuthHandler(KestrunHost host, IOptionsMonitor<BasicAuthenticationOptions> options,
ILoggerFactory loggerFactory, UrlEncoder encoder)
| parameter | description |
|---|---|
| host | The Kestrun host instance. |
| 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
- class KestrunHost
- class BasicAuthenticationOptions
- class BasicAuthHandler
- namespace Kestrun.Authentication