A function that returns a user object. In tests, this can be stubbed with Sinon to control what value the authentication stage will return.
Resolves whatever value is resolved by login(), or throws a ForbiddenException if login() throws.
Generated using TypeDoc
A stubbable PassportStrategy for use in testing.