C# 클래스 Nancy.Security.NancyModuleExtensions

파일 보기 프로젝트 열기: NancyFx/Nancy.MSOwinSecurity

공개 메소드들

메소드 설명
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