Method | Description | |
---|---|---|
UseBasicAuthentication ( this app ) : IApplicationBuilder |
Adds a Basic authentication middleware to your web application pipeline.
|
|
UseBasicAuthentication ( this app, Action |
Adds a Basic authentication middleware to your web application pipeline.
|
|
UseBasicAuthentication ( this app, BasicAuthenticationOptions options ) : IApplicationBuilder |
Adds a cookie-based authentication middleware to your web application pipeline.
|
public static UseBasicAuthentication ( this app ) : IApplicationBuilder | ||
app | this | The application builder. |
return | IApplicationBuilder |
public static UseBasicAuthentication ( this app, Action |
||
app | this | The application builder. |
configureOptions | Action |
The middleware options configuration. |
return | IApplicationBuilder |
public static UseBasicAuthentication ( this app, BasicAuthenticationOptions options ) : IApplicationBuilder | ||
app | this | The application builder. |
options | BasicAuthenticationOptions | The middleware options configuration. |
return | IApplicationBuilder |