Adds a token to the query parameters of a URL.
URL to use as base
Credentials to be used to generate token for URL
A promise that will resolve with the supplied URL with token=<token> added to its query params unless either the URL doesn't exist or the token can't be generated
token=<token>
Adds a token to the query parameters of a URL.