backend/controllers/api/AuthController.js
/**
     * Called to renew to JWT
     *
     * @param request
     * @param reply
     */
Called to renew to JWT
@param request
@param reply
Called to renew to JWT @param request @param reply
renewToken(request, reply) {
        let token = SessionManager.generateTokenForUser(request.auth.credentials.id);
        if (token) {
            reply({ token:token });
        } else {
            reply(Boom.internal('Unable to renew token'));
        }
    }
renewToken ( request , reply ) { let token = SessionManager . generateTokenForUser ( request . auth . credentials . id ) ; if ( token ) { reply ( { token : token } ) ; } else { reply ( Boom . internal ( 'Unable to renew token' ) ) ; } }
Called to renew to JWT
 @param request
 @param reply
Called to renew to JWT @param request @param reply