C# Class DevZH.AspNetCore.Builder.DoubanAppBuilderExtensions

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

Public Methods

Method Description
UseDoubanAuthentication ( this app ) : IApplicationBuilder

Adds the DoubanMiddleware middleware to the specified IApplicationBuilder, which enables Douban authentication capabilities.

UseDoubanAuthentication ( this app, DoubanOptions options ) : IApplicationBuilder

Adds the DoubanMiddleware middleware to the specified IApplicationBuilder, which enables Douban authentication capabilities.

Method Details

UseDoubanAuthentication() public static method

Adds the DoubanMiddleware middleware to the specified IApplicationBuilder, which enables Douban authentication capabilities.
public static UseDoubanAuthentication ( this app ) : IApplicationBuilder
app this The to add the middleware to.
return IApplicationBuilder

UseDoubanAuthentication() public static method

Adds the DoubanMiddleware middleware to the specified IApplicationBuilder, which enables Douban authentication capabilities.
public static UseDoubanAuthentication ( this app, DoubanOptions options ) : IApplicationBuilder
app this The to add the middleware to.
options DoubanOptions A that specifies options for the middleware.
return IApplicationBuilder