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

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

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

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

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

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

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

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

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