WhoAmI

WhoAmI

Service to interact with the Who Am I endpoint

Constructor

new WhoAmI(options)

Creates an instance of the who am I client

Source:
Parameters:
Name Type Description
options Object

configuration parameters

Methods

getMe(accessToken) → {Promise}

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

Source:
Parameters:
Name Type Description
accessToken string

the oauth bearer token.

Returns:
Type:
Promise
  • the http request promise