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 rubygem rspec rubocop uri uri-template sinatra
Last synced: about 18 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 (about 14 years ago)
- Default Branch: main
- Last Pushed: 2026-02-18T22:10:33.000Z (13 days ago)
- Last Synced: 2026-02-22T10:54:46.978Z (9 days ago)
- Language: Ruby
- Homepage:
- Size: 841 KB
- Stars: 374
- Watchers: 51
- Forks: 163
- Open Issues: 14
- Releases: 19
-
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.0+.
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: 3
- Pull request event: 27
- Fork event: 3
- Issues event: 4
- Watch event: 8
- Issue comment event: 3
- Push event: 13
- Pull request review event: 10
- Create event: 5
Last Year
- Release event: 2
- Delete event: 3
- Pull request event: 17
- Fork event: 2
- Issues event: 3
- Watch event: 5
- Issue comment event: 3
- Push event: 8
- Pull request review event: 5
- Create event: 5
Committers metadata
Last synced: 2 days ago
Total Commits: 353
Total Committers: 64
Avg Commits per committer: 5.516
Development Distribution Score (DDS): 0.742
Commits in past year: 7
Committers in past year: 4
Avg Commits per committer in past year: 1.75
Development Distribution Score (DDS) in past year: 0.571
| 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 |
| Jason Kulatunga | j****7@u****a | 10 |
| Mend Renovate | b****t@r****m | 8 |
| Scott Francis | s****s@y****m | 7 |
| Graham Paye | p****e@g****m | 7 |
| Abdelkader Boudih | t****e@g****m | 5 |
| sanemat | o****n@g****m | 5 |
| yoshi-code-bot | 7****t | 5 |
| release-please[bot] | 5****] | 4 |
| Mo Omer | b****s@g****m | 4 |
| Mike Moore | m****e@b****m | 4 |
| Justin Beckwith | j****h@g****m | 4 |
| Yosuke Kabuto | b****2@g****m | 3 |
| Denis Talakevich | c****t@g****m | 2 |
| Ian MacLeod | i****n@n****t | 2 |
| Ravil Bayramgalin | b****a@e****m | 2 |
| Jared Shenson | j****d@g****m | 2 |
| Neha Bajaj | b****7 | 2 |
| Tomo Suzuki | s****o@g****m | 2 |
| Chris Cooke | c****e@g****m | 2 |
| Yoann Lecuyer | y****r@g****m | 2 |
| Aldo Delgado | a****o@o****m | 1 |
| Christophe Verbinnen | c****e@c****m | 1 |
| Eric Walker | e****r@p****m | 1 |
| Fadi Hadzh | f****h@g****m | 1 |
| and 34 more... | ||
Committer domains:
- google.com: 5
- sporkmonger.com: 1
- kurokoproject.com: 1
- ualberta.ca: 1
- renovateapp.com: 1
- yakimaherald.com: 1
- blowmage.com: 1
- nevir.net: 1
- evilmartians.com: 1
- osstek.com: 1
- couchsurfing.com: 1
- pagerduty.com: 1
- mikhails-air.dlink: 1
- appfolio.com: 1
- govdelivery.com: 1
- appranix.com: 1
- gambaroff.com: 1
- nocorp.me: 1
- vasto.la: 1
- krautcomputing.com: 1
- jurriaanpruis.nl: 1
- 4angle.com: 1
- csemmler.com: 1
- rayo.de: 1
Issue and Pull Request metadata
Last synced: 6 days ago
Total issues: 62
Total pull requests: 113
Average time to close issues: 7 months
Average time to close pull requests: 10 days
Total issue authors: 53
Total pull request authors: 21
Average comments per issue: 1.74
Average comments per pull request: 0.62
Merged pull request: 89
Bot issues: 6
Bot pull requests: 7
Past year issues: 2
Past year pull requests: 31
Past year average time to close issues: N/A
Past year average time to close pull requests: about 1 month
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.13
Past year merged pull request: 12
Past year bot issues: 0
Past year bot pull requests: 4
Top Issue Authors
- sporkmonger (3)
- repo-metadata-lint[bot] (2)
- failure-checker[bot] (2)
- AnalogJ (2)
- seanstory (2)
- mvastola (2)
- a14m (2)
- sqrrrl (2)
- ar-abdurrehman (1)
- myitcv (1)
- iheanyi (1)
- sloorush (1)
- jylitalo (1)
- sanemat (1)
- dbackeus (1)
Top Pull Request Authors
- dazuma (42)
- renovate-bot (22)
- TheRoyalTnetennba (10)
- yoshi-code-bot (7)
- release-please[bot] (6)
- yykamei (4)
- bajajneha27 (3)
- suztomo (3)
- hieuk09 (2)
- JustinBeckwith (2)
- viacheslav-rostovtsev (2)
- gogainda (1)
- google-cloud-policy-bot[bot] (1)
- trambui09 (1)
- jas14 (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)
- type: cleanup (1)
- policybot (1)
- priority: p1 (1)
- type: docs (1)
- needs more info (1)
Top Pull Request Labels
- cla: yes (44)
- kokoro:force-run (29)
- autorelease: published (7)
- autorelease: tagged (4)
- autorelease: pending (3)
- autorelease: closed (2)
- kokoro:run (1)
- type: process (1)
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 885,471,397 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: 98
- 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.21.0 (published 6 months ago)
- Last Synced: 2026-03-02T00:02:09.960Z (2 days ago)
- Versions: 49
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 442,744,570 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.21.0 (published 6 months ago)
- Last Synced: 2026-03-01T20:02:39.641Z (2 days ago)
- Versions: 49
- Dependent Packages: 55
- Dependent Repositories: 31,783
- Downloads: 442,726,827 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
- actions/github-script v6 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- ruby/setup-ruby v1 composite
Score: 31.55185468576033