MARS documentation
Rust librariesmars-serverAuthAdapters

mars-server · auth::adapters::siws

Public declarations and documentation for mars-server::auth::adapters::siws.

Package: mars-server · Workspace version: 0.1.0 · Module: auth::adapters::siws

This reference follows declared modules and public syntax, including public implementation methods. Function bodies and constant values are omitted. Feature conditions are retained. Private-module re-exports and trait resolution require the compiler; not every declaration is a root import.

Module condition

#[cfg(feature = "sigil")]

auth::adapters::siws::SiwsAuthProfileAdapter

Sign-In-With-Sigil adapter backed by MARS challenge persistence and GAL.

#[cfg(feature = "sigil")]
pub struct SiwsAuthProfileAdapter {

}

Source line: 22.

auth::adapters::siws::SiwsAuthProfileAdapter::new

#[cfg(feature = "sigil")]
pub fn new(
        challenges: Arc<dyn AuthChallengeStore>,
        anchor_client: Arc<dyn mars_protocol::SigilAnchorClient>,
        clock: Arc<dyn ServerClock>,
        session_ttl_ms: i64,
    ) -> Result<Self, AuthError>;

Source line: 30.

Source provenance

Source: mars-server/src/auth/adapters/siws.rs · SHA-256 0f814523580a6274f3d8c50a0651ef2e87ba3c6469fb5cebfe75e0607dddea7d. Package overview.

On this page