(success: boolean)
| 56 | } |
| 57 | |
| 58 | endAuthentication(success: boolean): void { |
| 59 | if (success) { |
| 60 | // Clear the status completely on success |
| 61 | this.status = { |
| 62 | isAuthenticating: false, |
| 63 | output: [], |
| 64 | } |
| 65 | } else { |
| 66 | // Keep the output visible on failure |
| 67 | this.status.isAuthenticating = false |
| 68 | } |
| 69 | this.changed.emit(this.getStatus()) |
| 70 | } |
| 71 | |
| 72 | subscribe = this.changed.subscribe |
| 73 |
no test coverage detected