App Store Connect–JWT
Encode & decode App Store Connect API JWTs (JSON Web Tokens) according to Apple’s Documentation:
https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests
Installation
Add this line to your application’s Gemfile:
ruby
gem 'app_store_connect_jwt', require: 'app_store_connect/jwt'
And then execute:
$ bundle
Or install it yourself as:
$ gem install app_store_connect_jwt
Usage
Check out the Wiki for example usage.
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kyledecot/app_store_connect_jwt.
License
The gem is available as open source under the terms of the MIT License.