Skip to main content

login_with

Function login_with 

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

Device start → user prompt → poll → mint → atomic persist.