Skip to main content

run_http_authorized

Function run_http_authorized 

Source
pub async fn run_http_authorized(
    engine: Arc<RpcEngine>,
    bind: &str,
    credentials: Vec<RuntimeHttpCredential>,
) -> Result<SocketAddr, Error>
Expand description

Bind an SDK HTTP runtime with multiple independently scoped bearer credentials. The token bytes remain server-private; each successful authentication produces the exact authorization grant projected by the shared runtime coordinator.