Skip to main content

parse_mint_response

Function parse_mint_response 

Source
pub fn parse_mint_response(
    status: u16,
    body: &str,
) -> Result<MintedKey, MuseAuthError>
Expand description

Classify a mint response. Upstream bytes never enter the error: the onboarding code is matched as a fixed token, everything else maps to a static variant.