Skip to content

Commit 5489232

Browse files
authored
add renewAuth callback jsdocs (#674)
1 parent 41c5e3e commit 5489232

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/web-auth/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ WebAuth.prototype.validateToken = function(token, nonce, cb) {
303303
* @param {String} [options.postMessageOrigin] origin of redirectUri to expect postMessage response from. Defaults to the origin of the receiving window. Only used if usePostMessage is truthy.
304304
* @param {String} [options.timeout] value in milliseconds used to timeout when the `/authorize` call is failing as part of the silent authentication with postmessage enabled due to a configuration.
305305
* @param {Boolean} [options.usePostMessage] use postMessage to comunicate between the silent callback and the SPA. When false the SDK will attempt to parse the url hash should ignore the url hash and no extra behaviour is needed
306+
* @param {authorizeCallback} cb
306307
* @see {@link https://auth0.com/docs/api/authentication#authorize-client}
307308
*/
308309
WebAuth.prototype.renewAuth = function(options, cb) {

0 commit comments

Comments
 (0)