public static void RequiresAnyPermissions(this NancyModule module, params string[] permissions) { module.RequiresAnyClaim(claim => claim.Type == Permissions.Claim && permissions.Contains(claim.Value)); }
public static void RequiresAnyPermissions(this NancyModule module, params string[] permissions) { module.RequiresAnyClaim(claim => claim.Type == Permissions.Claim && permissions.Contains(claim.Value)); }