Skip to main content

login_with_into

Function login_with_into 

Source
pub async fn login_with_into<H, C, B, X>(
    http: &H,
    clock: &C,
    hooks: LoginHooks<'_, B>,
    cancel: &X,
    persist_key: Option<&str>,
) -> Result<OAuthCredentials, CopilotAuthError>
Expand description

Like login_with but persists ONLY into persist_key when given (github-copilot or github-copilot@<label>).