Function rmoods_backend::auth::jwt::decode_jwt

source ยท
pub fn decode_jwt(token: &str) -> Result<TokenData<Claims>, AuthError>
Expand description

Decode given JWT, verifing it at the same time. Return the decoded token data.