auth

Keymetrics. auth

new auth(opts)

Authenticate
Parameters:
Name Type Description
opts object Options
Source:

Methods

init(opts, callback)

Starts the authentication process
Parameters:
Name Type Description
opts object
callback function
Source:

logout(callback)

Revoke access token
Parameters:
Name Type Description
callback function
Source:

refresh(token, callback)

Get access token
Parameters:
Name Type Description
token string Refresh token
callback function Callback
Source: