Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: do not reccomend refreshAccessToken() method (#1283)
  • Loading branch information
JustinBeckwith committed Aug 16, 2018
1 parent ba4e2a4 commit 5400495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -196,7 +196,7 @@ oauth2client.setCredentials({
});
```

Once the client has a refresh token, access tokens will be acquired and refreshed automatically in the next call to the API. You can use the `oauth2Client.refreshAccessToken()` method for this purpose, returning the tokens in the response.
Once the client has a refresh token, access tokens will be acquired and refreshed automatically in the next call to the API.

### Using API keys
You may need to send an API key with the request you are going to make. The following uses an API key to make a request to the Google+ API service to retrieve a person's profile given a userId:
Expand Down

0 comments on commit 5400495

Please sign in to comment.