Skip to main content

redeem_body

Function redeem_body 

Source
pub fn redeem_body(
    invite: &InvitePayload,
    member: &SecretKey,
    host_challenge: Challenge,
    display_name: impl Into<String>,
    now_ms: u64,
) -> Result<Redeem, BuildError>
Expand description

The invite.redeem body (§8.6): the link’s secret, the member key and its registration (purpose 2) for the link’s community and host. Send it with the link’s community as the envelope community_id.

§Errors

Signing or body errors (display name length).