oslo-project / oauth2

A small library for parsing OAuth responses
https://oauth2.oslojs.dev
MIT License
88 stars 2 forks source link

Remove request builders #4

Closed pilcrowonpaper closed 3 months ago

pilcrowonpaper commented 3 months ago

This PR removes request builders (the RequestContext classes) from the package, leaving only response parsers (the RequestResult classes). This is essentially a reset of the package.

pilcrowonpaper commented 3 months ago

For future reference, I came to the conclusion that Oslo shouldn't rely on the Fetch API. I definitely have some issues with it, but more importantly though, relying on the API (even just its interfaces) is a sign that the package is a bit too high level for the project.