C# Class DevZH.AspNetCore.Builder.SinaAppBuilderExtensions

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

Public Methods

Method Description
UseSinaAuthentication ( this app ) : IApplicationBuilder

Adds the SinaMiddleware middleware to the specified IApplicationBuilder, which enables Sina authentication capabilities.

UseSinaAuthentication ( this app, SinaOptions options ) : IApplicationBuilder

Adds the SinaMiddleware middleware to the specified IApplicationBuilder, which enables Sina authentication capabilities.

Method Details

UseSinaAuthentication() public static method

Adds the SinaMiddleware middleware to the specified IApplicationBuilder, which enables Sina authentication capabilities.
public static UseSinaAuthentication ( this app ) : IApplicationBuilder
app this The to add the middleware to.
return IApplicationBuilder

UseSinaAuthentication() public static method

Adds the SinaMiddleware middleware to the specified IApplicationBuilder, which enables Sina authentication capabilities.
public static UseSinaAuthentication ( this app, SinaOptions options ) : IApplicationBuilder
app this The to add the middleware to.
options SinaOptions A that specifies options for the middleware.
return IApplicationBuilder