pub struct ClaudeProvider;Expand description
Provider for Claude Code credentials.
Syncs ~/.claude/ directory and ~/.claude.json config file.
Trait Implementations§
Source§impl AuthProvider for ClaudeProvider
impl AuthProvider for ClaudeProvider
Source§fn display_name(&self) -> &str
fn display_name(&self) -> &str
Human-readable display name.
Source§fn credential_files(&self) -> Vec<CredentialFile>
fn credential_files(&self) -> Vec<CredentialFile>
List of credential files/directories this provider manages.
Source§fn validate<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ValidationResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn validate<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ValidationResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Validate whether the current local credentials are still valid.
Defaults to
ValidationResult::Unknown.Source§impl Clone for ClaudeProvider
impl Clone for ClaudeProvider
Source§fn clone(&self) -> ClaudeProvider
fn clone(&self) -> ClaudeProvider
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClaudeProvider
impl Debug for ClaudeProvider
Source§impl Default for ClaudeProvider
impl Default for ClaudeProvider
Source§fn default() -> ClaudeProvider
fn default() -> ClaudeProvider
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClaudeProvider
impl RefUnwindSafe for ClaudeProvider
impl Send for ClaudeProvider
impl Sync for ClaudeProvider
impl Unpin for ClaudeProvider
impl UnsafeUnpin for ClaudeProvider
impl UnwindSafe for ClaudeProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more