claude-connector: ClaudeCodeConfig carries the auth choice

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-29 18:16:15 +01:00
commit b22f5f0f8d

View file

@ -50,9 +50,11 @@ pub struct ClaudeCodeConfig {
/// A directory the connector owns (mode 0700), where each call's system
/// prompt is staged for the child.
pub prompt_dir: PathBuf,
/// The name of the systemd credential that holds the child's token, under
/// The name of the systemd credential that holds the child's credential, under
/// `$CREDENTIALS_DIRECTORY`.
pub token_credential: String,
/// Which credential that is: the subscription token or an API key.
pub auth: ClaudeAuth,
/// The name of the systemd credential that holds the handle secret: the
/// key every handle is authenticated with.
pub handle_secret_credential: String,