Skip to main content

instance_card_body

Function instance_card_body 

Source
pub fn instance_card_body(
    keys: &InstanceKeys,
    instance_version: &str,
    consent_channel: ConsentChannel,
    clear_presence_key: bool,
) -> Result<Value, CloudError>
Expand description

The signed E44 body. clear_presence_key sends presence_key: null, which drops the bound key (e.g. after the helper was removed); a card can never set or replace one.