Categories
Salesforce

exports.Start = guard.ensure([‘https’, ‘post’,

Documentazione ufficiale

Esempio

function show() {
    // shows account landing page
}

// allow only GET requests via HTTPS for logged in users
exports.Show = require('~/guard').ensure(['get','https','loggedIn'],show);

Leave a Reply