Skip to main content

sign_key_authorization_with_browser

Function sign_key_authorization_with_browser 

Source
pub async fn sign_key_authorization_with_browser(
    browser: &BrowserSigner<TempoNetwork>,
    authorization: KeyAuthorization,
) -> Result<SignedKeyAuthorization>
Expand description

Asks the browser wallet to sign authorization with its connected root account, and verifies the result.

The browser wallet cannot display T5/T6 fields (witness, account, admin) yet, so callers must reject them before starting the browser flow.