Closed hazelmeow closed 1 month ago
This PR replaces some potential panics in validate_jwt with errors and changes the signature of validate_jwt to return Result<Jwt, Error> instead of Result<(bool, Jwt), bool>.
validate_jwt
Result<Jwt, Error>
Result<(bool, Jwt), bool>
This PR replaces some potential panics in
validate_jwt
with errors and changes the signature ofvalidate_jwt
to returnResult<Jwt, Error>
instead ofResult<(bool, Jwt), bool>
.