()
| 17 | } |
| 18 | |
| 19 | const getApiClient = () => { |
| 20 | if ( |
| 21 | apiClient.type !== "self-managed" || |
| 22 | (apiClient.authMode !== "Password" && |
| 23 | apiClient.authMode !== "Sasl" && |
| 24 | apiClient.authMode !== "Oidc") |
| 25 | ) { |
| 26 | throw new Error(NOT_SUPPORTED_MESSAGE); |
| 27 | } |
| 28 | return apiClient; |
| 29 | }; |
| 30 | |
| 31 | export const LOGIN_PATH = "/account/login"; |
| 32 |
no outgoing calls
no test coverage detected