Skip to main content

find_client_identity

Function find_client_identity 

Source
pub async fn find_client_identity(
    client: &Client,
    reference: &str,
) -> Result<ClientIdentity>
Expand description

A client identity by uuid, identify value or name, among the caller’s own (see match_client_identity). A reference that matches none of them is read directly, so an Admin reaches other users’ identities by uuid or identify.

§Errors

§Examples

let phone = dinio_sdk::ops::find_client_identity(client, "phone").await?;
println!("DoH path part: {}", phone.identify);