Skip to content

Commit 1524635

Browse files
authored
Document that checkSession requires a callback (#1103)
1 parent 540c84a commit 1524635

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/web-auth/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,8 @@ WebAuth.prototype.renewAuth = function(options, cb) {
545545
* @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`
546546
* @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth
547547
* @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.
548+
* @param {checkSessionCallback} cb
549+
* @see {@link https://auth0.com/docs/libraries/auth0js/v9#using-checksession-to-acquire-new-tokens}
548550
*/
549551
WebAuth.prototype.checkSession = function(options, cb) {
550552
var params = objectHelper

0 commit comments

Comments
 (0)