C# Class DevZH.AspNetCore.Builder.NetEaseAppBuilderExtensions

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

Public Methods

Method Description
UseNetEaseAuthentication ( this app ) : IApplicationBuilder

Adds the NetEaseMiddleware middleware to the specified IApplicationBuilder, which enables NetEase authentication capabilities.

UseNetEaseAuthentication ( this app, NetEaseOptions options ) : IApplicationBuilder

Adds the NetEaseMiddleware middleware to the specified IApplicationBuilder, which enables NetEase authentication capabilities.

Method Details

UseNetEaseAuthentication() public static method

Adds the NetEaseMiddleware middleware to the specified IApplicationBuilder, which enables NetEase authentication capabilities.
public static UseNetEaseAuthentication ( this app ) : IApplicationBuilder
app this The to add the middleware to.
return IApplicationBuilder

UseNetEaseAuthentication() public static method

Adds the NetEaseMiddleware middleware to the specified IApplicationBuilder, which enables NetEase authentication capabilities.
public static UseNetEaseAuthentication ( this app, NetEaseOptions options ) : IApplicationBuilder
app this The to add the middleware to.
options NetEaseOptions A that specifies options for the middleware.
return IApplicationBuilder