Skip to content

Commit 31630d6

Browse files
authored
Emitting logout event
1 parent 805dec9 commit 31630d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

angular-oauth2-oidc/src/oauth-service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,8 @@ export class OAuthService
13981398
this._storage.removeItem('access_token_stored_at');
13991399

14001400
this.silentRefreshSubject = null;
1401+
1402+
this.eventsSubject.next(new OAuthInfoEvent('logout'));
14011403

14021404
if (!this.logoutUrl) return;
14031405
if (noRedirectToLogoutUrl) return;

0 commit comments

Comments
 (0)