vtcode_config/auth/mod.rs
1//! Authentication utilities for VT Code.
2//!
3//! This module provides OAuth PKCE support for OpenRouter and other providers
4//! that use OAuth-based authentication flows.
5
6pub mod openrouter_oauth;
7pub mod pkce;
8
9pub use openrouter_oauth::{
10 AuthStatus, OpenRouterOAuthConfig, OpenRouterToken, clear_oauth_token, exchange_code_for_token,
11 get_auth_status, get_auth_url, load_oauth_token, save_oauth_token,
12};
13pub use pkce::{PkceChallenge, generate_pkce_challenge};