Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): set up App Store modules #12374

Merged
merged 1 commit into from
Apr 22, 2022

Commits on Apr 22, 2022

  1. feat(auth): set up App Store modules

    Because:
    
    * We want SubPlat to know about Apple IAP subscriptions for our RPs.
    
    This commit:
    
    * Sets up the needed Apple IAP modules in lib/payments/iap/apple-app-store including classes, their methods and types, largely modeled after the Google Play IAP modules.
    * Adds App Store config (under config.subscriptions.appStore) including a sandbox flag and App Store credentials by app bundleId.
    * Moves lib/payments/google-play to lib/payments/iap/google-play.
    * Moves IAPConfig class to the new shared lib/payments/iap dir.
    * Adds two new libraries to the auth server: app-store-server-api (App Store Server API client) and type-fest (for helpful TS types, such as RequireAtLeastOne used here).
    
    Closes #10313, closes #12579
    biancadanforth committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    c4b55cc View commit details
    Browse the repository at this point in the history