c12i / mpesa-rust

A MPESA API sdk in Rust
https://c12i.github.io/mpesa-rust/mpesa/index.html
MIT License
43 stars 14 forks source link

Simplify auth method #76

Closed c12i closed 10 months ago

c12i commented 10 months ago

Derive a AuthResponse to deserialize auth json response to, transform non successful http errors to reqwest::Error

c12i commented 10 months ago

Closing this since #77 implements similar changes