Created
July 25, 2017 13:36
-
-
Save danielcrisp/6608ca567543ccea8e6e61ba8a8e7a9e to your computer and use it in GitHub Desktop.
AuthService.getUser - Async HTTP Interceptors with Angular 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getUser (): Observable<User> { | |
return Observable.fromPromise(this.userManager.getUser()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment