Skip to main content

decode_unsecured

Function decode_unsecured 

Source
pub fn decode_unsecured(
    input: impl AsRef<[u8]>,
) -> Result<(JwtPayload, JwsHeader), JoseError>
Expand description

Return the JWT object decoded with the “none” algorithm.

§Arguments

  • input - a JWT string representation.