//! Application-side Claude Code credential capture and live-store adoption.
//! Request authentication/shaping lives in `bitrouter_ai::providers::claude_code`.
//! This module supplies explicit environment and file/Keychain policy above AI.
use OAuthToken;
/// Claude Code's official long-lived OAuth token environment variable.
///
/// Tokens created by `claude setup-token` are process credentials, so bitrouter
/// treats them as in-memory, non-refreshable OAuth bearers.
pub const OAUTH_TOKEN_ENV: &str = "CLAUDE_CODE_OAUTH_TOKEN";
/// Whether the current process carries a usable Claude Code OAuth token in the
/// official environment variable.
/// Capture the official environment token as an application-permitted fallback.