Skip to main content

login_into

Function login_into 

Source
pub async fn login_into(
    persist_key: Option<&str>,
) -> Result<OAuthCredentials, String>
Expand description

Run the full OAuth login flow. With Some(key) the credential is persisted ONLY into that slot (anthropic or anthropic@<label>); with None it is returned unsaved so the caller can run pre-persistence checks.