Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // myFirstFormStrategy.js
- module.exports= function(options) {
- options= options || {};
- var that= {};
- var my= {};
- that.name = options.name || "someName";
- that.authenticate= function(request, response, callback) {
- this.success( {id:'1', name:'someUser'}, callback );
- }
- return that;
- };
Add Comment
Please, Sign In to add comment