NewCodexAuth creates a new CodexAuth service instance. It initializes an HTTP client with proxy settings from the provided configuration.
(cfg *config.Config)
| 40 | // NewCodexAuth creates a new CodexAuth service instance. |
| 41 | // It initializes an HTTP client with proxy settings from the provided configuration. |
| 42 | func NewCodexAuth(cfg *config.Config) *CodexAuth { |
| 43 | return NewCodexAuthWithProxyURL(cfg, "") |
| 44 | } |
| 45 | |
| 46 | // NewCodexAuthWithProxyURL creates a new CodexAuth service instance. |
| 47 | // proxyURL takes precedence over cfg.ProxyURL when non-empty. |
no test coverage detected