Contract 3c8d0b8b347752e57abe0b50380401ca8f5793bc971b685fd072571bbf5d54cc

← Back to Index 📥 Download WASM

Meta

cliver 23.3.0#08473ac20016c369067ce0dbca91d9595e72d6d4
rssdkver 23.4.0#673d6c4f2368d282d25da29bda55c21b8be69ca6
rsver 1.92.0
source_repo github:stellar/sep45-reference

Instances

  • CALI6JC3MSNDGFRP7Z2OKUEPREHOJRRXKMJEWQDEFZPFGXALA45RAUTH

Interface

Verifies the client is authorized to authenticate with the server

Arguments:

  • account: The client account address
  • home_domain: The home domain
  • web_auth_domain: The server's domain
  • web_auth_domain_account: The server's SIGNING_KEY
  • client_domain: The client domain (optional)
  • client_domain_account: The client domain's SIGNING_KEY (optional)
  • nonce: A random string generated by the server to prevent replay attacks
fn web_auth_verify(
    env: soroban_sdk::Env,
    args: soroban_sdk::Map,
) -> Result<(), WebAuthError>

Imports

WebAssembly Text (WAT) ▶