C# 클래스 Microsoft.AspNetCore.Builder.BasicAppBuilderExtensions

Basic authentication extensions for IApplicationBuilder.
파일 보기 프로젝트 열기: Microsoft/RTVS

공개 메소드들

메소드 설명
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