Skip to main content

handle_resolve_identity

Function handle_resolve_identity 

Source
fn handle_resolve_identity(
    state: &AppState,
    call: &WebCallType,
) -> WebReturnType
Expand description

block_id → the profile its sign-ins are kept under: personal for a tab with no browser:identity, profile:<id> for a named profile’s tab.

Returns identity_id: "" (not an error) for an Incognito tab, which never saves a sign-in (spec §9.1), and for a block that is gone. The host’s credential broker treats an empty one as “no stored credential” and falls through to the normal prompt, saving nothing.