Skip to main content

DEFAULT_WEBAUTHN_RP_ID

Constant DEFAULT_WEBAUTHN_RP_ID 

Source
pub const DEFAULT_WEBAUTHN_RP_ID: &str = "aptos-rust-sdk";
Available on crate feature secp256r1 only.
Expand description

Default WebAuthn relying-party identifier baked into the synthetic authenticator_data.rpIdHash field. The on-chain verifier does not enforce a specific value, so any deterministic 32-byte hash is fine.