Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function SessionStrategy() {
Strategy.call(this);
this.name = 'session';
}
function OpenAMStrategy(agent) {
Strategy.call(this);
this.name = 'openam';
this.agent = agent;
if(!(agent instanceof PolicyAgent)) {
throw new Error('missing PolicyAgent')
}
}
function SessionStrategy() {
Strategy.call(this);
this.name = 'session';
}
function SessionStrategy() {
Strategy.call(this);
this.name = 'session';
}