apollo-passport-local-strategy
Version:
Local strategy using email address and hashed, bcrypted password
10 lines (7 loc) • 738 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
// PassportResult defined in apollo-passport
var typeDefinitions = "\ntype RootMutation {\n apCreateUserEmailPassword (input: apUserInput!): PassportResult,\n apVerifyAccount (userId: String, verificationToken: String!): SimpleError,\n apRecoverPasswordRequest (email: String): String,\n apRecoverPassword (userId: String!, token: String!, newPassword: String!): String,\n apUpdateUserPassword (userId: String!, oldPassword: String!, newPassword: String!): String,\n apLoginEmailPassword (email: String!, password: String!): PassportResult\n}\n\ntype SimpleError {\n errCode: String,\n errMessage: String\n}\n";
exports.default = [typeDefinitions];