Module

oauth

Methods

# async inner getToken(env, query) → {Promise.<AccessToken>}

Parameters:
Name Type Description
env module:environments.xMattersEnvironment The xmtoolbox representation of an xMatters instance.
query Object A json object representing the query string parameters for this request.

View Source oauth.js, line 19

AccessToken Object Requested
Promise.<AccessToken>

# async inner refreshToken(env, query) → {Promise.<AccessToken>}

Parameters:
Name Type Description
env module:environments.xMattersEnvironment The xmtoolbox representation of an xMatters instance.
query Object A json object representing the query string parameters for this request.

View Source oauth.js, line 32

AccessToken Object Requested
Promise.<AccessToken>