service: $tokenTimeout

$tokenTimeout

$tokenTimeout()

Keeps track of user activity and broadcasts event and removes tokens from storage on session end

Source:

Methods

checkIdle()

Checks to make sure a token exists and that there isn't activity from another tab. Broadcasts a countdown event if the user is genuinely idle.

Source:

resetIdle()

Resets the ng-idle's watch and broadcasts a reset event

Source:

watch()

Starts the watch and sets event ng-idle event listeners

Source: