C# Class DevZH.AspNetCore.Builder.XiaoMiAppBuilderExtensions

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

Public Methods

Method Description
UseXiaoMiAuthentication ( this app ) : IApplicationBuilder

Adds the XiaoMiMiddleware middleware to the specified IApplicationBuilder, which enables XiaoMi authentication capabilities.

UseXiaoMiAuthentication ( this app, XiaoMiOptions options ) : IApplicationBuilder

Adds the XiaoMiMiddleware middleware to the specified IApplicationBuilder, which enables XiaoMi authentication capabilities.

Method Details

UseXiaoMiAuthentication() public static method

Adds the XiaoMiMiddleware middleware to the specified IApplicationBuilder, which enables XiaoMi authentication capabilities.
public static UseXiaoMiAuthentication ( this app ) : IApplicationBuilder
app this The to add the middleware to.
return IApplicationBuilder

UseXiaoMiAuthentication() public static method

Adds the XiaoMiMiddleware middleware to the specified IApplicationBuilder, which enables XiaoMi authentication capabilities.
public static UseXiaoMiAuthentication ( this app, XiaoMiOptions options ) : IApplicationBuilder
app this The to add the middleware to.
options XiaoMiOptions A that specifies options for the middleware.
return IApplicationBuilder