C# Class Nancy.Security.NancyModuleExtensions

Afficher le fichier Open project: NancyFx/Nancy.MSOwinSecurity

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
InvokeBeforePipeLine ( this module, NancyContext context ) : Response

Method Details

RequiresMSOwinAuthentication() public static méthode

This module requires the user is authenticated with Microsoft Owin authentication.
public static RequiresMSOwinAuthentication ( this module ) : void
module this Module to enable
Résultat void

RequiresSecurityClaims() public static méthode

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
Résultat void