C# Class DevZH.AspNetCore.Builder.WeChatAppBuilderExtensions

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

Public Methods

Method Description
UseWeChatAuthentication ( this app ) : IApplicationBuilder

Adds the WeChatMiddleware middleware to the specified IApplicationBuilder, which enables WeChat authentication capabilities.

UseWeChatAuthentication ( this app, WeChatOptions options ) : IApplicationBuilder

Adds the WeChatMiddleware middleware to the specified IApplicationBuilder, which enables WeChat authentication capabilities.

Method Details

UseWeChatAuthentication() public static method

Adds the WeChatMiddleware middleware to the specified IApplicationBuilder, which enables WeChat authentication capabilities.
public static UseWeChatAuthentication ( this app ) : IApplicationBuilder
app this The to add the middleware to.
return IApplicationBuilder

UseWeChatAuthentication() public static method

Adds the WeChatMiddleware middleware to the specified IApplicationBuilder, which enables WeChat authentication capabilities.
public static UseWeChatAuthentication ( this app, WeChatOptions options ) : IApplicationBuilder
app this The to add the middleware to.
options WeChatOptions A that specifies options for the middleware.
return IApplicationBuilder