C# Класс DevZH.AspNetCore.Builder.NetEaseAppBuilderExtensions

Extension methods to add NetEase authentication capabilities to an HTTP application pipeline.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

UseNetEaseAuthentication() публичный статический Метод

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.
Результат IApplicationBuilder

UseNetEaseAuthentication() публичный статический Метод

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.
Результат IApplicationBuilder