Permalink
Browse files

feat(authService): add onLogout. something is needed to eg clear cook…

…ies after authomatic logout
  • Loading branch information...
doktordirk committed Jun 5, 2016
1 parent 1a887ab commit 8ade299dcb9546d6e7f392e04b6015fc840959c0
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/authService.js
@@ -354,6 +354,10 @@ export class AuthService {
this.authentication.redirect(redirectUri, this.config.logoutRedirect);
if (typeof this.onLogout === 'function') {
this.onLogout(response);
}
resolve(response);
});

0 comments on commit 8ade299

Please sign in to comment.