C# Class DevZH.AspNetCore.Builder.YoukuAppBuilderExtensions

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

Public Methods

Method Description
UseYoukuAuthentication ( this app ) : IApplicationBuilder

Adds the YoukuMiddleware middleware to the specified IApplicationBuilder, which enables Youku authentication capabilities.

UseYoukuAuthentication ( this app, YoukuOptions options ) : IApplicationBuilder

Adds the YoukuMiddleware middleware to the specified IApplicationBuilder, which enables Youku authentication capabilities.

Method Details

UseYoukuAuthentication() public static method

Adds the YoukuMiddleware middleware to the specified IApplicationBuilder, which enables Youku authentication capabilities.
public static UseYoukuAuthentication ( this app ) : IApplicationBuilder
app this The to add the middleware to.
return IApplicationBuilder

UseYoukuAuthentication() public static method

Adds the YoukuMiddleware middleware to the specified IApplicationBuilder, which enables Youku authentication capabilities.
public static UseYoukuAuthentication ( this app, YoukuOptions options ) : IApplicationBuilder
app this The to add the middleware to.
options YoukuOptions A that specifies options for the middleware.
return IApplicationBuilder