Methods
(async, inner) tokenClient(code)
A module for making fetch requests to the google authorization server.
Parameters:
Name | Type | Description |
---|---|---|
code |
string | A code that must be sent to the authorization server along with the client secret and client ID. |
Returns:
Returns a JSON object containing the access_token and token_type properties.