https://github.com/googleapis/signet
Signet is an OAuth 1.0 / OAuth 2.0 implementation.
https://github.com/googleapis/signet
Keywords from Contributors
activerecord activejob mvc rack rubygems rspec rubocop uri uri-template sinatra
Last synced: about 9 hours ago
JSON representation
Repository metadata
Signet is an OAuth 1.0 / OAuth 2.0 implementation.
- Host: GitHub
- URL: https://github.com/googleapis/signet
- Owner: googleapis
- License: apache-2.0
- Created: 2012-01-23T17:13:36.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2026-07-31T21:21:22.000Z (17 days ago)
- Last Synced: 2026-08-14T10:20:16.020Z (3 days ago)
- Language: Ruby
- Homepage:
- Size: 887 KB
- Stars: 388
- Watchers: 51
- Forks: 164
- Open Issues: 15
- Releases: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
README.md
Signet
Description
Signet is an OAuth 1.0 / OAuth 2.0 implementation.
Reference
- {Signet::OAuth1}
- {Signet::OAuth1::Client}
- {Signet::OAuth1::Credential}
- {Signet::OAuth1::Server}
- {Signet::OAuth2}
- {Signet::OAuth2::Client}
Example Usage for Google
Initialize the client
require 'signet/oauth_2/client'
client = Signet::OAuth2::Client.new(
:authorization_uri => 'https://accounts.google.com/o/oauth2/auth',
:token_credential_uri => 'https://oauth2.googleapis.com/token',
:client_id => "#{YOUR_CLIENT_ID}.apps.googleusercontent.com",
:client_secret => YOUR_CLIENT_SECRET,
:scope => 'email profile',
:redirect_uri => 'https://example.client.com/oauth'
)
Request an authorization code
redirect_to(client.authorization_uri)
Obtain an access token
client.code = request.query['code']
client.fetch_access_token!
Install
gem install signet
Be sure https://rubygems.org is in your gem sources.
Supported Ruby Versions
This library is supported on Ruby 3.2+.
Google provides official support for Ruby versions that are actively supported
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
in security maintenance, and not end of life. Older versions of Ruby may
still work, but are unsupported and not recommended. See
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
support schedule.
Owner metadata
- Name: Google APIs
- Login: googleapis
- Email:
- Kind: organization
- Description: Clients for Google APIs and tools that help produce them.
- Website: https://googleapis.github.io
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/16785467?v=4
- Repositories: 781
- Last ynced at: 2023-04-09T04:55:29.167Z
- Profile URL: https://github.com/googleapis
GitHub Events
Total
- Release event: 2
- Delete event: 5
- Pull request event: 28
- Fork event: 3
- Issues event: 4
- Watch event: 9
- Issue comment event: 3
- Push event: 13
- Pull request review event: 10
- Create event: 6
Last Year
- Release event: 1
- Delete event: 4
- Pull request event: 4
- Issues event: 2
- Watch event: 4
- Issue comment event: 1
- Push event: 3
- Pull request review event: 2
- Create event: 4
Committers metadata
Last synced: 1 day ago
Total Commits: 361
Total Committers: 67
Avg Commits per committer: 5.388
Development Distribution Score (DDS): 0.748
Commits in past year: 11
Committers in past year: 7
Avg Commits per committer in past year: 1.571
Development Distribution Score (DDS) in past year: 0.727
| Name | Commits | |
|---|---|---|
| Bob Aman | b****n@g****m | 91 |
| Daniel Azuma | d****a@g****m | 52 |
| Steven Bazyl | s****l@g****m | 45 |
| Bob Aman | b****b@s****m | 18 |
| Graham Paye | g****8@g****m | 14 |
| Scott Francis | s****t@k****m | 13 |
| Mend Renovate | b****t@r****m | 11 |
| Jason Kulatunga | j****7@u****a | 10 |
| Graham Paye | p****e@g****m | 7 |
| Scott Francis | s****s@y****m | 7 |
| yoshi-code-bot | 7****t | 5 |
| sanemat | o****n@g****m | 5 |
| release-please[bot] | 5****] | 5 |
| Abdelkader Boudih | t****e@g****m | 5 |
| Justin Beckwith | j****h@g****m | 4 |
| Mike Moore | m****e@b****m | 4 |
| Mo Omer | b****s@g****m | 4 |
| Yosuke Kabuto | b****2@g****m | 3 |
| Chris Cooke | c****e@g****m | 2 |
| Yoann Lecuyer | y****r@g****m | 2 |
| Tomo Suzuki | s****o@g****m | 2 |
| Neha Bajaj | b****7 | 2 |
| Ravil Bayramgalin | b****a@e****m | 2 |
| André Andreassa | a****a | 2 |
| Ian MacLeod | i****n@n****t | 2 |
| Jared Shenson | j****d@g****m | 2 |
| Denis Talakevich | c****t@g****m | 2 |
| Andreas Rayo Kniep | z****g@r****e | 1 |
| Aldo Delgado | a****o@o****m | 1 |
| Christophe Verbinnen | c****e@c****m | 1 |
| and 37 more... | ||
Committer domains:
- google.com: 5
- sporkmonger.com: 1
- kurokoproject.com: 1
- renovateapp.com: 1
- ualberta.ca: 1
- yakimaherald.com: 1
- blowmage.com: 1
- evilmartians.com: 1
- nevir.net: 1
- rayo.de: 1
- osstek.com: 1
- couchsurfing.com: 1
- pagerduty.com: 1
- mikhails-air.dlink: 1
- govdelivery.com: 1
- appranix.com: 1
- nocorp.me: 1
- gambaroff.com: 1
- appfolio.com: 1
- csemmler.com: 1
- 4angle.com: 1
- jurriaanpruis.nl: 1
- krautcomputing.com: 1
- vasto.la: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 63
Total pull requests: 127
Average time to close issues: 7 months
Average time to close pull requests: 21 days
Total issue authors: 54
Total pull request authors: 24
Average comments per issue: 1.73
Average comments per pull request: 0.56
Merged pull request: 97
Bot issues: 6
Bot pull requests: 8
Past year issues: 2
Past year pull requests: 22
Past year average time to close issues: 3 days
Past year average time to close pull requests: about 2 months
Past year issue authors: 2
Past year pull request authors: 7
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.09
Past year merged pull request: 12
Past year bot issues: 0
Past year bot pull requests: 3
Top Issue Authors
- sporkmonger (3)
- repo-metadata-lint[bot] (2)
- failure-checker[bot] (2)
- AnalogJ (2)
- seanstory (2)
- mvastola (2)
- a14m (2)
- sqrrrl (2)
- iheanyi (1)
- ar-abdurrehman (1)
- sloorush (1)
- myitcv (1)
- dbackeus (1)
- jylitalo (1)
- fertobar (1)
Top Pull Request Authors
- dazuma (42)
- renovate-bot (31)
- TheRoyalTnetennba (10)
- release-please[bot] (7)
- yoshi-code-bot (7)
- yykamei (4)
- bajajneha27 (3)
- suztomo (3)
- hieuk09 (2)
- aandreassa (2)
- JustinBeckwith (2)
- viacheslav-rostovtsev (2)
- gogainda (1)
- google-cloud-policy-bot[bot] (1)
- trambui09 (1)
Top Issue Labels
- :rotating_light: (30)
- triage me (27)
- type: question (8)
- type: process (7)
- type: bug (5)
- type: feature request (4)
- priority: p2 (4)
- repo-metadata: lint (2)
- needs more info (1)
- priority: p1 (1)
- type: docs (1)
- policybot (1)
- type: cleanup (1)
Top Pull Request Labels
- cla: yes (44)
- kokoro:force-run (40)
- autorelease: published (7)
- autorelease: tagged (5)
- autorelease: pending (3)
- autorelease: closed (2)
- type: process (1)
- kokoro:run (1)
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 978,127,282 total
- Total docker downloads: 1,145,844,606
- Total dependent packages: 55 (may contain duplicates)
- Total dependent repositories: 31,783 (may contain duplicates)
- Total versions: 100
- Total maintainers: 2
gem.coop: signet
Signet is an OAuth 1.0 / OAuth 2.0 implementation.
- Homepage: https://github.com/googleapis/signet
- Documentation: http://www.rubydoc.info/gems/signet/
- Licenses: Apache-2.0
- Latest release: 0.22.0 (published 2 months ago)
- Last Synced: 2026-08-16T08:30:23.965Z (1 day ago)
- Versions: 50
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 489,063,641 Total
- Docker Downloads: 572,922,303
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Downloads: 0.055%
- Docker downloads count: 0.204%
- Average: 0.828%
- Forks count: 1.989%
- Stargazers count: 2.719%
- Maintainers (2)
rubygems.org: signet
Signet is an OAuth 1.0 / OAuth 2.0 implementation.
- Homepage: https://github.com/googleapis/signet
- Documentation: http://www.rubydoc.info/gems/signet/
- Licenses: Apache-2.0
- Latest release: 0.22.0 (published 2 months ago)
- Last Synced: 2026-08-16T08:30:24.428Z (1 day ago)
- Versions: 50
- Dependent Packages: 55
- Dependent Repositories: 31,783
- Downloads: 489,063,641 Total
- Docker Downloads: 572,922,303
-
Rankings:
- Downloads: 0.061%
- Dependent repos count: 0.191%
- Docker downloads count: 0.225%
- Dependent packages count: 0.487%
- Average: 0.99%
- Forks count: 2.022%
- Stargazers count: 2.952%
- Maintainers (2)
Dependencies
- bundler >= 1.15
- gems ~> 1.2
- hurley >= 0
- jruby-openssl >= 0
- google-style ~> 1.26.1 development
- kramdown ~> 1.5 development
- launchy ~> 2.4 development
- rake ~> 13.0 development
- redcarpet ~> 3.0 development
- rspec ~> 3.1 development
- yard ~> 0.9, >= 0.9.12 development
- addressable ~> 2.8
- faraday >= 0.17.5, < 3.a
- jwt >= 1.5, < 3.0
- multi_json ~> 1.10
- actions/checkout v3 composite
- actions/setup-node v3 composite
- ruby/setup-ruby v1 composite
- addressable 2.9.0
- ast 2.4.3
- base64 0.3.0
- bundler 4.0.14
- diff-lcs 1.6.2
- erb 6.0.6
- faraday 2.14.3
- faraday-net_http 3.4.4
- gems 1.3.0
- google-style 1.32.0
- hurley 0.2
- io-console 0.8.2
- irb 1.18.0
- json 2.21.2
- jwt 3.2.0
- kramdown 2.5.2
- language_server-protocol 3.17.0.6
- launchy 2.5.2
- lint_roller 1.1.0
- logger 1.7.0
- net-http 0.9.1
- parallel 1.28.0
- parser 3.3.12.0
- pp 0.6.4
- prettyprint 0.2.0
- prism 1.9.0
- public_suffix 7.0.5
- racc 1.8.1
- rainbow 3.1.1
- rake 13.4.2
- rbs 4.1.1
- rdoc 8.0.0
- redcarpet 3.6.1
- regexp_parser 2.12.0
- reline 0.6.3
- rexml 3.4.4
- rspec 3.13.2
- rspec-core 3.13.6
- rspec-expectations 3.13.5
- rspec-mocks 3.13.8
- rspec-support 3.13.7
- rubocop 1.88.2
- rubocop-ast 1.50.0
- ruby-progressbar 1.13.0
- signet 0.22.0
- tsort 0.2.0
- unicode-display_width 3.2.0
- unicode-emoji 4.2.0
- uri 1.1.1
- yard 0.9.45
Score: 31.680198729004985