Skip to main content

identifier_membership

Function identifier_membership 

Source
pub async fn identifier_membership(
    conn: &impl DbQuery,
    inbox_id: &str,
    identifier: &Identifier,
    scw_verifier: &impl SmartContractSignatureVerifier,
) -> Result<Option<bool>, ClientError>
Expand description

Whether the association state of the inbox in the database holds the identifier, or None when the database has no identity update of the inbox. Computing the state caches it in the database.