C# Класс Nancy.Security.NancyModuleExtensions

Показать файл Открыть проект

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

Метод Описание
RequiresMSOwinAuthentication ( this module ) : void

This module requires the user is authenticated with Microsoft Owin authentication.

RequiresSecurityClaims ( this module, bool>.Func isValid ) : void

This module requires the security claims to be validated. If the users claims do not match the required claims then a HttpStatusCode.Forbidden is returned.

Приватные методы

Метод Описание
InvokeBeforePipeLine ( this module, NancyContext context ) : Response

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

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

This module requires the user is authenticated with Microsoft Owin authentication.
public static RequiresMSOwinAuthentication ( this module ) : void
module this Module to enable
Результат void

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

This module requires the security claims to be validated. If the users claims do not match the required claims then a HttpStatusCode.Forbidden is returned.
public static RequiresSecurityClaims ( this module, bool>.Func isValid ) : void
module this
isValid bool>.Func
Результат void