"v0.Auth"

"v0.Auth"

new "v0.Auth"()

Authenticate an app via different auth strategies

Source:
Example
const Auth = require('@tillhub/node-sdk').v0.Auth
const auth = new Auth ()

auth.loginUsername('user@example.com', '123455', (err, body) => {
  if (err) throw err
  console.log(body.token)
  console.log(body.user)
})