Update topics/oidc/javascript-adapter.adoc

This commit is contained in:
Stian Thorgersen 2016-09-06 09:04:14 +02:00
parent c5e8c3887d
commit 4e2ca4ce44

View file

@ -367,4 +367,4 @@ The available events are:
* onAuthRefreshSuccess - Called when the token is refreshed.
* onAuthRefreshError - Called if there was an error while trying to refresh the token.
* onAuthLogout - Called if the user is logged out (will only be called if the session status iframe is enabled, or in Cordova mode).
* onTokenExpired - Called when the access token is expired. When this happens you can for refresh the token, or if refresh is not available (ie. with implicit flow) you can redirect to login screen.
* onTokenExpired - Called when the access token is expired. If a refresh token is available the token can be refreshed with updateToken, or in cases where it's not (ie. with implicit flow) you can redirect to login screen to obtain a new access token.