Skip to main content

dial_with_crypto_stores_and_token_provider

Function dial_with_crypto_stores_and_token_provider 

Source
pub fn dial_with_crypto_stores_and_token_provider<S>(
    target: &TransportConfig,
    signer: S,
    server_verifying_key: Option<VerifyingKey>,
    token_provider: Option<Arc<dyn Fn() -> Option<String> + Send + Sync>>,
    request_kem_store: Option<Arc<dyn KemTrustStore>>,
    response_pq_store: Option<Arc<dyn PqTrustStore>>,
) -> Result<Arc<dyn RpcClient>>
where S: Signer + 'static,
Expand description

The provider form of the crypto-bound dial. A missing JWT remains missing; this API does not manufacture clearance from the caller’s signing key.