{"id":15292789,"url":"https://github.com/playpasshq/artemis-api-auth","last_synced_at":"2026-05-15T08:35:19.610Z","repository":{"id":62553559,"uuid":"172683450","full_name":"playpasshq/artemis-api-auth","owner":"playpasshq","description":"Artemis GraphQL Client Adapter to support ApiAuth","archived":false,"fork":false,"pushed_at":"2024-02-08T12:46:44.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-13T02:03:05.957Z","etag":null,"topics":["graphql","graphql-client","hmac-sha256","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playpasshq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-26T09:48:51.000Z","updated_at":"2020-10-16T14:15:53.000Z","dependencies_parsed_at":"2024-09-30T16:27:16.084Z","dependency_job_id":"13f3e8dd-4efe-4fd7-9bbd-40c36c9b7ad3","html_url":"https://github.com/playpasshq/artemis-api-auth","commit_stats":null,"previous_names":["janstevens/artemis-api-auth"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/playpasshq/artemis-api-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpasshq%2Fartemis-api-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpasshq%2Fartemis-api-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpasshq%2Fartemis-api-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpasshq%2Fartemis-api-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playpasshq","download_url":"https://codeload.github.com/playpasshq/artemis-api-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playpasshq%2Fartemis-api-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014003,"owners_count":26085343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["graphql","graphql-client","hmac-sha256","ruby"],"created_at":"2024-09-30T16:27:11.657Z","updated_at":"2025-10-13T02:04:47.901Z","avatar_url":"https://github.com/playpasshq.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Artemis ApiAuth\n[![Build Status](https://travis-ci.org/JanStevens/artemis-api-auth.svg?branch=master)](https://travis-ci.org/JanStevens/artemis-api-auth)\n[![Coverage Status](https://coveralls.io/repos/github/JanStevens/artemis-api-auth/badge.svg?branch=master)](https://coveralls.io/github/JanStevens/artemis-api-auth?branch=master)\n\nThis gem provides a new Adapter for the [Artemis](https://github.com/yuki24/artemis) GraphQL ruby client to support HMAC Authentication\nusing [ApiAuth](https://github.com/mgomes/api_auth)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'artemis-api_auth'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install artemis-api-auth-adapter\n\n## Usage\n\nAfter following the installation instruction of Artemis, update your `config/graphql.yml` to use the new `net_http_hmac` adapter\n\n```yaml\ndefault: \u0026default\n  # The underlying client library that actually makes an HTTP request.\n  # Available adapters are :net_http, :net_http_persistent, :curb, and :test.\n  #\n  # It is set to :net_http by default.\n  adapter: :net_http_hmac\n```\n\nYou can configure ApiAuth by setting the `default_context` in your Artemis client\n\n```ruby\nclass Artsy \u003c Artemis::Client\n  # Set the default context for HMAC authentication from the secrets\n  # This will be used in our Net HTTP HMAC adapter\n  # @see {Artemis::Adapters::NetHttpHmacAdapter}\n  self.default_context = {\n    api_auth: {\n      access_id: '1',\n      secret_key: 'very-secret-hmac-api-key',\n      # optional\n      digest: 'sha256', # default since more secure\n      override_http_method: 'POST' # default: nil\n    }\n  }\nend\n```\n\n## Development\n\nAfter 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.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/JanStevens/artemis-api-auth\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaypasshq%2Fartemis-api-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplaypasshq%2Fartemis-api-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaypasshq%2Fartemis-api-auth/lists"}