Skip to content

Commit 7bb4947

Browse files
author
Your Name
committed
Stripe In Practice Course
1 parent 9a5f6a7 commit 7bb4947

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/app/app.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ export class AppComponent implements OnInit {
2020
constructor(
2121
private afAuth: AngularFireAuth) {
2222

23+
afAuth.idToken.subscribe(jwt => console.log(jwt));
24+
2325
}
2426

2527
ngOnInit() {

src/app/login/login.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export class LoginComponent implements OnInit, OnDestroy {
1818
private router:Router,
1919
private ngZone: NgZone) {
2020

21+
2122
}
2223

2324
ngOnInit() {

0 commit comments

Comments
 (0)