Initial working google auth
This commit is contained in:
parent
fb52d49f74
commit
00a40f6bba
1058 changed files with 114441 additions and 0 deletions
20
auth-service/node_modules/passport/lib/errors/authenticationerror.js
generated
vendored
Normal file
20
auth-service/node_modules/passport/lib/errors/authenticationerror.js
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* `AuthenticationError` error.
|
||||
*
|
||||
* @constructor
|
||||
* @api private
|
||||
*/
|
||||
function AuthenticationError(message, status) {
|
||||
Error.call(this);
|
||||
Error.captureStackTrace(this, arguments.callee);
|
||||
this.name = 'AuthenticationError';
|
||||
this.message = message;
|
||||
this.status = status || 401;
|
||||
}
|
||||
|
||||
// Inherit from `Error`.
|
||||
AuthenticationError.prototype.__proto__ = Error.prototype;
|
||||
|
||||
|
||||
// Expose constructor.
|
||||
module.exports = AuthenticationError;
|
||||
Loading…
Add table
Add a link
Reference in a new issue