UNPKG

apollo-passport-local

Version:

Local strategy using email address and hashed, bcrypted password

10 lines (7 loc) 468 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // PassportResult defined in apollo-passport var typeDefinitions = "\ntype RootMutation {\n apCreateUserEmailPassword (email: String!, password: String!): PassportResult,\n apUpdateUserPassword (userId: String!, oldPassword: String!, newPassword: String!): String,\n apLoginEmailPassword (email: String!, password: String!): PassportResult\n}\n"; exports.default = [typeDefinitions];