jQuery.telligent.evolution.authentication
This module provides methods for manipulating user authentication and auto logout flow
Methods
renew
Renews the current user's authentication cookie if the site is configured to support sliding expiration. Renews the state globally across all tabs and windows of the browser for the user, closing any open logout warnings by raising user.logout.warning.canceled.
$.telligent.evolution.authentication.renew();
configure
Configures options for authentication logout flow
$.telligent.evolution.authentication.configure(options);
options:
warningThresholdSeconds
: Threshold before logout in seconds at which user.logout.warning messages start to raise. Configuring this value configures it once for all open tabs and windows, as all tabs and windows share a single authentication manager. (default: 45)returnUrl
: Optional URL use when redirecting after login following an automatic logout. This is usually already set by default to the current URL at page load, but it is sometimes useful to override via client script in single-page experiences.