module.exports = Self => {
    Self.remoteMethod('validateToken', {
        description: 'Validates the current logged user token',
        returns: {
            type: 'Boolean',
            root: true
        },
        http: {
            path: `/validateToken`,
            verb: 'GET'
        }
    });

    Self.validateToken = async function() {
        return true;
    };
};