Skip to content

Commit cc03aae

Browse files
committed
Docs update with information about the oauth:loggedOut event
1 parent 6f59293 commit cc03aae

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,15 @@ <h1 id="events">Events</h1>
746746
Fired when the user logs out.
747747
</td>
748748
</tr>
749+
<tr>
750+
<td class="parameter">
751+
<span>oauth:loggedOut</span>
752+
<span class="info">fired</span>
753+
</td>
754+
<td>
755+
Fired when the user is not logged in.
756+
</td>
757+
</tr>
749758
<tr>
750759
<td class="parameter">
751760
<span>oauth:denied</span>
@@ -799,6 +808,10 @@ <h1 id="events">Events</h1>
799808
console.log('The user has signed out');
800809
});
801810

811+
$scope.$on('oauth:loggedOut', function(event) {
812+
console.log('The user is not signed in');
813+
});
814+
802815
$scope.$on('oauth:denied', function(event) {
803816
console.log('The user did not authorize the third party app');
804817
});

0 commit comments

Comments
 (0)