Skip to main content

decode_pairing_info

Function decode_pairing_info 

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

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