Méthode | Description | |
---|---|---|
UseBasicAuthentication ( this app ) : IApplicationBuilder |
Adds a basic authentication middleware to your web application pipeline. This method attempts to obtain options though `IOptions`.
|
|
UseBasicAuthentication ( this app, Action |
Adds a basic authentication middleware to your web application pipeline. This method does not attempt to obtain options though `IOptions`.
|
|
UseBasicAuthentication ( this app, BasicOptions options ) : IApplicationBuilder |
Adds a basic authentication middleware to your web application pipeline. This method does not attempt to obtain options though `IOptions`.
|
public static UseBasicAuthentication ( this app ) : IApplicationBuilder | ||
app | this | The IApplicationBuilder passed to your configuration method |
Résultat | IApplicationBuilder |
public static UseBasicAuthentication ( this app, Action |
||
app | this | The IApplicationBuilder passed to your configuration method |
configureOptions | Action |
Used to configure the options for the middleware |
Résultat | IApplicationBuilder |
public static UseBasicAuthentication ( this app, BasicOptions options ) : IApplicationBuilder | ||
app | this | The IApplicationBuilder passed to your configuration method |
options | BasicOptions | Used to configure the middleware |
Résultat | IApplicationBuilder |