pub async fn fetch_remote_credentials(
session_id: &str,
base_url: &str,
access_token: &str,
timeout_ms: u64,
trusted_device_token: Option<&str>,
) -> Option<RemoteCredentials>Expand description
Fetch remote credentials for a session via POST /v1/code/sessions/{id}/bridge
ยงArguments
session_id- The session IDbase_url- The API base URLaccess_token- OAuth access tokentimeout_ms- Request timeout in millisecondstrusted_device_token- Optional trusted device token
Returns the remote credentials on success, or None if fetch fails.