View Source Apple.AppStoreServerAPI (apple v0.5.0)
Utilities for App Store Server API.
Summary
Functions
Builds a token to authorize HTTP requests.
Functions
@spec build_auth_token!( Apple.Types.AppStoreConnect.issuer_id(), Apple.Types.AppStoreConnect.key_id(), Apple.Types.AppStoreConnect.private_key(), Apple.Types.AppStoreConnect.bundle_id() ) :: String.t()
Builds a token to authorize HTTP requests.
Note
Using a private key of the "In-App Purchase" type is sufficient.
After building it, use it in the Authorization
header like this:
Authorization: Bearer <JWT>