Skip to main content

parse_trust_score_badge_v1

Function parse_trust_score_badge_v1 

Source
pub fn parse_trust_score_badge_v1(
    credential: JsValue,
) -> Result<JsValue, JsError>
Expand description

Parse a cryptographically verified credential as a fedi-trust-score-v1.0 badge.

Schema validation only — verify the credential (and any holder authorization) with a VerificationContext first.