Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
package.json
readme.md

readme.md

Using Custom Middleware to Authentic Users

routes.json

[
    {
        "settings": [ "master" ],

        "index": {
            "path": "/",
            "call": "@tester.index",
            "param": "auth=true"
        }
    }
]

application.json

[
    {
        "settings": [ "master" ],

        "middleware": [
            "mojito-handler-static",
            "mojito-parser-body",
            "mojito-parser-cookies",
            "mojito-contextualizer",
            "mojito-handler-tunnel",
            "mojito-router",
            "./node_modules/mojito_auth_middleware/lib/handler.js",
            "mojito-handler-dispatcher"
        ]
    }
]
Something went wrong with that request. Please try again.