WhoAmI

WhoAmI

Service to interact with the Who Am I endpoint

Constructor

new WhoAmI(options)

Creates an instance of the who am I client

Parameters:
Name Type Description
options Object

configuration parameters

Source:

Methods

getMe(accessToken) → {Promise}

Retrieves the customer UUID and permissions corresponding to the access token passed

Parameters:
Name Type Description
accessToken string

the oauth bearer token.

Source:
Returns:
  • the http request promise
Type
Promise