get_status(
*,
store_path: Path | None = None,
) -> CodexAuthStatus| Name | Type | Description |
|---|---|---|
store_path | Path | None | Default: NoneOverride the token store path. Defaults to
|
Return the current ChatGPT OAuth sign-in state.
Reads the on-disk token without triggering a refresh (a passive
inspect, suitable for switcher labels and the /auth manager). If a
refresh is needed for actual usage, callers should construct a
_FileChatGPTOAuthTokenProvider and call get_token() instead.