Skip to content

Commit

Permalink
Updated typedef for #21
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholastay committed Jun 4, 2020
1 parent ef5c504 commit 81bca5e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ var OAuth2Strategy = require('passport-oauth2')
* @property {string} clientSecret
* @property {string} callbackURL
* @property {Array} scope
* @property {string} [authorizationURL="https://discordapp.com/api/oauth2/authorize"]
* @property {string} [tokenURL="https://discordapp.com/api/oauth2/token"]
* @property {string} [authorizationURL="https://discord.com/api/oauth2/authorize"]
* @property {string} [tokenURL="https://discord.com/api/oauth2/token"]
* @property {string} [scopeSeparator=" "]
*/
/**
Expand Down Expand Up @@ -122,6 +122,7 @@ Strategy.prototype.checkScope = function(scope, accessToken, cb) {
* Options for the authorization.
* @typedef {Object} authorizationParams
* @property {any} permissions
* @property {any} prompt
*/
/**
* Return extra parameters to be included in the authorization request.
Expand All @@ -145,4 +146,4 @@ Strategy.prototype.authorizationParams = function(options) {
/**
* Expose `Strategy`.
*/
module.exports = Strategy;
module.exports = Strategy;

0 comments on commit 81bca5e

Please sign in to comment.