Showing 2 of 2 total issues
Function implementation
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
internals.implementation = function (server, options) {
Hoek.assert(options, 'Missing Parse auth strategy options');
Hoek.assert(options.parse_rest_api_key, 'Missing parse_rest_api_key');
Hoek.assert(options.parse_app_id, 'Missing parse_app_id');
Function authenticate
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
authenticate: function (request, reply) {
const token = request.headers['x-parse-session-token'];
if (!token) {