Skip to main content

verify_browser_key_authorization

Function verify_browser_key_authorization 

Source
fn verify_browser_key_authorization(
    signed: &[u8],
    requested: &KeyAuthorization,
    root_account: Address,
) -> Result<SignedKeyAuthorization>
Expand description

Decodes a SignedKeyAuthorization returned by the browser wallet and checks that it signs exactly requested and recovers to root_account.