()
| 434 | } |
| 435 | |
| 436 | async getUserInfo(): Promise<AuthUserInfo> { |
| 437 | if (!this.sessionId) { |
| 438 | throw LoginError.userNotLoggedIn(); |
| 439 | } |
| 440 | return { |
| 441 | ...this.state.userInfo, |
| 442 | idToken: await this.sessionManager.getIdToken(), |
| 443 | }; |
| 444 | } |
| 445 | |
| 446 | async getAccessToken(): Promise<string> { |
| 447 | if (!this.sessionId) { |
no test coverage detected