Provides user utilities used in integration tests.
Methods
(static) getAccessToken() → {Promise.<string>}
Returns a promise which resolves to an access token. A new user is saved during the process. Upon subsequent calls, same user will be used.
Returns:
- Type
- Promise.<string>
(static) getAccessTokenAndUserId() → {Promise}
Returns a promise which resolves to an access token and a user id. A new user is saved during the process. Upon subsequent calls, same user will be used.
Returns:
- Type
- Promise
(static) getUserId() → {Promise.<string>}
Returns a promise which resolves to a user id. A new user is saved during the process. Upon subsequent calls, same user will be used.
Returns:
- Type
- Promise.<string>