Skip to main content

dial_stream_authenticated

Function dial_stream_authenticated 

Source
pub async fn dial_stream_authenticated(
    target: &TransportConfig,
    proof: &MoqlAdmissionProof,
) -> Result<MoqStreamSession>
Expand description

#1027: dial the moq streaming plane over iroh moql and run the inside-carrier admission challenge/response (crate::transport::moql_admission) BEFORE returning the session. The returned session is admitted: the server has verified the proof against its current accepted Ed25519 + ML-DSA-65 state and scoped the session to the resolved tenant.

Admission is the iroh-carrier path only; the quinn /moq plane authenticates at CONNECT time (crate::transport::moq_connect_auth). Same-host endpoints are rejected exactly as in dial_stream.