Skip to main content

panel_start_options

Function panel_start_options 

Source
fn panel_start_options(
    req: &OAuthStartReq,
    target: FlowTarget,
    byo: Option<ByoCredentials>,
    saved: Option<SavedClient>,
    cloud_signed_in: bool,
) -> StartOptions
Expand description

Serialize an OAuthStatus to the frontend wire shape. What the Accounts panel’s Connect starts a flow with: the consent page opens in the system browser, and Google’s account picker has no hint.