Skip to main content

start_login

Function start_login 

Source
pub fn start_login() -> Result<LoginSession>
Expand description

Begin OAuth login: call /auth/login, return a session containing the auth URL + state. Cheap (one HTTP round-trip), never blocks on user action — separated from polling so callers can render the URL before yielding control to the wait loop.