App Store Connect API token generation.
The App Store Connect API uses a JWT signed with your private key (ES256). The JWT contains:
iss: Issuer ID (from App Store Connect)kid: Key IDiat: Issued at timestampexp: Expiration timestampaud: Audience ("appstoreconnect-v1")
This JWT is used directly as the Bearer token in API requests.
Summary
Functions
Generate the App Store Connect API access token.
Like access_token/1 but also returns the unix-epoch expiry time, for cache use.
Build and sign the App Store Connect API JWT (ES256).
Types
@type jwt() :: String.t()
Functions
Generate the App Store Connect API access token.
Like access_token/1 but also returns the unix-epoch expiry time, for cache use.
Build and sign the App Store Connect API JWT (ES256).