The client ID of your application.
The client secret of your application.
The redirect URI specified in your application.
The authorization code returned after successful user authorization.
A promise resolving to an AccessToken object.
When a user authenticates your application, an authorization code is provided. This function exchanges that code for an access token, which can be used to make authorized requests to the Donation Alerts API.
HttpError If an error occurs during the request, such as invalid credentials.
Obtains an access token using client credentials and an authorization code.