Module: oauth/google_token_client

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.
Author:
  • Tyler Del Rosario
Source:
Returns:
Returns a JSON object containing the access_token and token_type properties.