Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow passing maxExpiry to verifyIdToken (#223)
BREAKING CHANGE: The parameters to the `verifyIdToken` method of OAuth2Client have been changed. The function now accepts a single options object, and an optional callback. A function that used to look like this: ```js oAuth2Client.verifyIdToken(idToken, audience, callback); ``` Would now be rewritten as this: ```js oAuth2Client.verifyIdToken({ idToken: idToken, audience: audience }, callback); ```
- Loading branch information
1 parent
a9ab95e
commit bb9a74b
Showing
2 changed files
with
60 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters