npm i --save humble-auth
The plugin has to be registered and the authentication scheme created.
Humble-auth also needs the humble-session plugin for functioning.
var server = ;server;server;
API ### reply.login(user, cb)
Saves the passed user to the session, making him logged in.
user - The object the identifies the user.
cb(err) - A callback which is called once the user was saved to the session.
Removes the current user from the session, terminating his login session.
cb(err) - Optional A callback which is called once the user is removed from