C# Class Microsoft.AspNetCore.Builder.BasicAppBuilderExtensions

Basic authentication extensions for IApplicationBuilder.
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

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 configureOptions ) : IApplicationBuilder

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`.

Method Details

UseBasicAuthentication() public static méthode

Adds a basic authentication middleware to your web application pipeline. This method attempts to obtain options though `IOptions`.
public static UseBasicAuthentication ( this app ) : IApplicationBuilder
app this The IApplicationBuilder passed to your configuration method
Résultat IApplicationBuilder

UseBasicAuthentication() public static méthode

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, Action configureOptions ) : IApplicationBuilder
app this The IApplicationBuilder passed to your configuration method
configureOptions Action Used to configure the options for the middleware
Résultat IApplicationBuilder

UseBasicAuthentication() public static méthode

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, BasicOptions options ) : IApplicationBuilder
app this The IApplicationBuilder passed to your configuration method
options BasicOptions Used to configure the middleware
Résultat IApplicationBuilder