user

Keymetrics. user

new user(opts)

User
Parameters:
Name Type Description
opts object Options
Source:

Methods

getUser() → {object}

return the user object
Source:
Returns:
Type
object

refreshUser(callback)

Retrieves current user from API
Parameters:
Name Type Description
callback function Callback
Source:

setUser(user)

set the User Object variable
Parameters:
Name Type Description
user object
Source: