UNPKG

loopback4-authentication

Version:

A loopback-next extension for authentication feature. Various Oauth strategies supported by this package.

18 lines 662 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GoogleAuthVerifyProvider = void 0; const rest_1 = require("@loopback/rest"); /** * A provider for default implementation of VerifyFunction.LocalPasswordFn * * It will just throw an error saying Not Implemented */ class GoogleAuthVerifyProvider { value() { return async (accessToken, refreshToken, profile, cb, req) => { throw new rest_1.HttpErrors.NotImplemented(`VerifyFunction.GoogleAuthFn is not implemented`); }; } } exports.GoogleAuthVerifyProvider = GoogleAuthVerifyProvider; //# sourceMappingURL=google-auth-verify.provider.js.map