()
| 151 | } |
| 152 | |
| 153 | func (t *customHeaderTransport) CloseIdleConnections() { |
| 154 | if transport, ok := t.base.(interface{ CloseIdleConnections() }); ok { |
| 155 | transport.CloseIdleConnections() |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | func getTokenRefresher(httpClient connect.HTTPClient, email, password, url string) func(ctx context.Context) (string, error) { |
| 160 | // Create a separate auth client without interceptors to avoid circular dependencies |