How to use the passport-strategy.call function in passport-strategy

To help you get started, we’ve selected a few passport-strategy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jaredhanson / passport / lib / strategies / session.js View on Github external
function SessionStrategy() {
  Strategy.call(this);
  this.name = 'session';
}
github ForgeRock / node-openam-agent / lib / strategy.js View on Github external
function OpenAMStrategy(agent) {
    Strategy.call(this);
    this.name = 'openam';
    this.agent = agent;

    if(!(agent instanceof PolicyAgent)) {
        throw new Error('missing PolicyAgent')
    }
}
github joshlobaptista / Barista-Fullstack / node_modules / passport / lib / strategies / session.js View on Github external
function SessionStrategy() {
  Strategy.call(this);
  this.name = 'session';
}

passport-strategy

An abstract class implementing Passport's strategy API.

MIT
Latest version published 11 years ago

Package Health Score

67 / 100
Full package analysis