Skip to main content

decode_invite_info

Function decode_invite_info 

Source
pub fn decode_invite_info(code: &str) -> Result<InviteInfo, CodeError>
Expand description

What an invite code tells, read before any sign-in: the app signs in with its metadata.oauth_access, then calls join_with_invite. Refuses the code as that call would: WrongKind for a restore or pairing code, Invalid for one that doesn’t decode.