C# Class DevZH.AspNetCore.Builder.BaiduAppBuilderExtensions

Extension methods to add Baidu authentication capabilities to an HTTP application pipeline.
Datei anzeigen Open project: noliar/MoreAuthentication

Public Methods

Method Description
UseBaiduAuthentication ( this app ) : IApplicationBuilder

Adds the BaiduMiddleware middleware to the specified IApplicationBuilder, which enables Baidu authentication capabilities.

UseBaiduAuthentication ( this app, BaiduOptions options ) : IApplicationBuilder

Adds the BaiduMiddleware middleware to the specified IApplicationBuilder, which enables Baidu authentication capabilities.

Method Details

UseBaiduAuthentication() public static method

Adds the BaiduMiddleware middleware to the specified IApplicationBuilder, which enables Baidu authentication capabilities.
public static UseBaiduAuthentication ( this app ) : IApplicationBuilder
app this The to add the middleware to.
return IApplicationBuilder

UseBaiduAuthentication() public static method

Adds the BaiduMiddleware middleware to the specified IApplicationBuilder, which enables Baidu authentication capabilities.
public static UseBaiduAuthentication ( this app, BaiduOptions options ) : IApplicationBuilder
app this The to add the middleware to.
options BaiduOptions A that specifies options for the middleware.
return IApplicationBuilder