C# Class DevZH.AspNetCore.Builder.YixinAppBuilderExtensions

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

Public Methods

Method Description
UseYixinAuthentication ( this app ) : IApplicationBuilder

Adds the YixinMiddleware middleware to the specified IApplicationBuilder, which enables Yixin authentication capabilities.

UseYixinAuthentication ( this app, YixinOptions options ) : IApplicationBuilder

Adds the YixinMiddleware middleware to the specified IApplicationBuilder, which enables Yixin authentication capabilities.

Method Details

UseYixinAuthentication() public static method

Adds the YixinMiddleware middleware to the specified IApplicationBuilder, which enables Yixin authentication capabilities.
public static UseYixinAuthentication ( this app ) : IApplicationBuilder
app this The to add the middleware to.
return IApplicationBuilder

UseYixinAuthentication() public static method

Adds the YixinMiddleware middleware to the specified IApplicationBuilder, which enables Yixin authentication capabilities.
public static UseYixinAuthentication ( this app, YixinOptions options ) : IApplicationBuilder
app this The to add the middleware to.
options YixinOptions A that specifies options for the middleware.
return IApplicationBuilder