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, KimiAuthError>
where H: KimiHttp, C: KimiClock, B: KimiBrowser, X: KimiCancel + ?Sized,
Expand description

Device start → user prompt → poll → atomic persist.