Skip to main content

SiweVerifier

Trait SiweVerifier 

Source
pub trait SiweVerifier: Send + Sync {
    // Required method
    fn verify_message<'life0, 'async_trait>(
        &'life0 self,
        input: SiweVerification,
    ) -> Pin<Box<dyn Future<Output = SiweCallbackResult<bool>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn verify_message<'life0, 'async_trait>( &'life0 self, input: SiweVerification, ) -> Pin<Box<dyn Future<Output = SiweCallbackResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Verify the original signed bytes for the supplied address and chain. Implementations may support externally owned or ERC-1271 contract wallets.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§