dtinit / data-transfer-project

The Data Transfer Project makes it easy for platforms to build interoperable user data portability features. We are establishing a common framework, including data models and protocols, to enable direct transfer of data both into and out of participating online service providers.
https://dtinit.org/docs/dtp-what-is-it
Apache License 2.0
3.55k stars 486 forks source link

Tokensurlauth partial primitive obsession fix #1342

Closed jzacsh closed 3 months ago

jzacsh commented 3 months ago

open the door to let us start moving away from "primitive obsession" (strings, all strings), which in turn lets us start handling errors more concisely and int he right places.

this is a prefactor for an upcoming apple-music PR (#1339) that relies on this class for oauth token refresh.