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

Apple music prefactor new http package #1343

Closed jzacsh closed 3 months ago

jzacsh commented 3 months ago

noop(prefactor) new Apple api for token refresh

common pattern in apple server-API classes factored out into a new internal-only TokenRefresher class and while we're add it, starting an internal http package so more low-level HTTP traffic-management can be shared/tested. this is a prefactor to code in PR #1339 for Apple Music code.

While done differently between MediaInterface and MusicInterface, they're fundamentlaly the same. Harshil and I discussed and plan to set this up for Music and move Media over to this later in our copious spare time.