README
@alertlogic/client
A client to support higher order client interfaces.
This library uses axios as its HTTP provider interface.
This library uses cache to provide transparent persistent storage to consumers.
Disclaimer
Until the release of version 1.0.0 all current minor version increments may be backwards incompatible. Please bear this in mind when developing against this library. Should you have any further questions, please do not hesitate to contact us as npm@alertlogic.com
Installation
npm install @alertlogic/client --save
Usage
var ALClient = require('@alertlogic/client').ALClient; //commonjs - e.g. node
import { ALClient } from '@alertlogic/client'; //ES2015 - e.g. Angular, TS projects
Log in to AIMS and establish a Session.
ALClient.Authenticate(params, username, password, mfa_code);
params: {
service_name: 'aims',
path: '/authenticate'
},
username: 'bob@email.com',
password: 'IAmNotAValidUser!@#