C# Класс Microsoft.AspNetCore.Builder.BasicAppBuilderExtensions

Basic authentication extensions for IApplicationBuilder.
Показать файл Открыть проект

Открытые методы

Метод Описание
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`.

Описание методов

UseBasicAuthentication() публичный статический Метод

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
Результат IApplicationBuilder

UseBasicAuthentication() публичный статический Метод

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
Результат IApplicationBuilder

UseBasicAuthentication() публичный статический Метод

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
Результат IApplicationBuilder