Function simple_jwt::decode [] [src]

pub fn decode<T: JWTStringConvertable>(jwtstr: &str, secret: &str) -> Result<T>

decode a jwt string using algorithm in the jwt header field