Skip to main content

parse_introspection

Function parse_introspection 

Source
fn parse_introspection(
    body: &[u8],
) -> Result<HashMap<String, Value>, TokenError>
Expand description

Parses an RFC 7662 introspection response, requiring active: true. An unparseable response is a genuine provider failure (TokenError::Infra); an inactive token is a deliberate rejection (TokenError::Denied).