Authentication commands -- login, logout, status.
Wraps codex login, codex logout, and codex login status.
Summary
Functions
@spec login( CodexWrapper.Config.t(), keyword() ) :: {:ok, String.t()} | {:error, term()}
Login to Codex.
Options
:with_api_key- Use API key authentication (boolean):with_access_token- Use access token authentication (boolean):device_auth- Use device authorization flow (boolean)
@spec logout(CodexWrapper.Config.t()) :: {:ok, String.t()} | {:error, term()}
Logout from Codex.
@spec status(CodexWrapper.Config.t()) :: {:ok, String.t()} | {:error, term()}
Check login status.