Skip to main content

decode_unverified_claims

Function decode_unverified_claims 

Source
pub(crate) fn decode_unverified_claims<T>(
    token: &str,
) -> Result<T, AuthenticationError>
Expand description

decode untrusted JWT claims for candidate room selection only

callers must verify the same token with the selected room key before using the decoded claims as authenticated identity or permission data