Skip to content

Function client::member::redeem_body

zaun_community_protocol::client::member::redeem_body · Function

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

The invite.redeem body: 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.

Signing or body errors (display name length).

Full rustdoc page