Skip to main content

normalize

Function normalize 

Source
pub fn normalize(
    claims: &Value,
) -> Result<(SsoIdentity, &'static str), SsoError>
Expand description

Normalize a verified token’s claims to (identity, provider_id). The caller is responsible for having verified the token’s signature first.