mkm-service-user
v3.0.5
Published
Wrapper for user API's
Readme
Introduction
Service to support users
Getting Started
Install via npm
npm install mkm-service-userBuild and Test
Run build
npm run buildRun tests
npm testUsage
Example usage:
import { UserService } from 'mkm-service-user';
const userServiceConfig = {
apiUrl: 'http://myusers.mkmapps.local/api/',
authToken: 'dHSD6bsdds....',
roleToken: '45HS5645bd....'
};
const userService = new UserService(userServiceConfig);
Methods
- getMyProfile()
- getUserProfile(id)
