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 uri uri-template sinatra rubocop
Last synced: about 2 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 (almost 14 years ago)
- Default Branch: main
- Last Pushed: 2025-08-26T00:41:22.000Z (4 months ago)
- Last Synced: 2025-12-16T11:07:26.536Z (1 day ago)
- Language: Ruby
- Homepage:
- Size: 840 KB
- Stars: 372
- Watchers: 53
- 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
- Create event: 4
- Release event: 2
- Issues event: 3
- Watch event: 6
- Delete event: 2
- Issue comment event: 3
- Push event: 13
- Pull request review event: 10
- Pull request event: 27
- Fork event: 3
Last Year
- Create event: 4
- Issues event: 2
- Release event: 2
- Watch event: 4
- Delete event: 2
- Issue comment event: 3
- Push event: 10
- Pull request review event: 7
- Pull request event: 22
- Fork event: 2
Committers metadata
Last synced: about 8 hours ago
Total Commits: 352
Total Committers: 64
Avg Commits per committer: 5.5
Development Distribution Score (DDS): 0.741
Commits in past year: 8
Committers in past year: 3
Avg Commits per committer in past year: 2.667
Development Distribution Score (DDS) in past year: 0.375
| 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 |
| 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 |
| 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 |
| release-please[bot] | 5****] | 4 |
| Yosuke Kabuto | b****2@g****m | 3 |
| Ravil Bayramgalin | b****a@e****m | 2 |
| Ian MacLeod | i****n@n****t | 2 |
| Jared Shenson | j****d@g****m | 2 |
| Neha Bajaj | b****7 | 2 |
| Yoann Lecuyer | y****r@g****m | 2 |
| Chris Cooke | c****e@g****m | 2 |
| Denis Talakevich | c****t@g****m | 2 |
| Samuel Reh | s****h@g****m | 1 |
| Sasha Koss | k****s@n****e | 1 |
| Sean Story | s****y@g****m | 1 |
| Seth Ladd | s****d@g****m | 1 |
| Stanisław Pitucha | v****r@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
- evilmartians.com: 1
- nevir.net: 1
- nocorp.me: 1
- appfolio.com: 1
- govdelivery.com: 1
- mikhails-air.dlink: 1
- pagerduty.com: 1
- couchsurfing.com: 1
- gambaroff.com: 1
- 4angle.com: 1
- csemmler.com: 1
- rayo.de: 1
- osstek.com: 1
- jurriaanpruis.nl: 1
- krautcomputing.com: 1
- vasto.la: 1
- appranix.com: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 61
Total pull requests: 91
Average time to close issues: 7 months
Average time to close pull requests: 10 days
Total issue authors: 52
Total pull request authors: 20
Average comments per issue: 1.77
Average comments per pull request: 0.43
Merged pull request: 68
Bot issues: 6
Bot pull requests: 6
Past year issues: 1
Past year pull requests: 30
Past year average time to close issues: N/A
Past year average time to close pull requests: 19 days
Past year issue authors: 1
Past year pull request authors: 6
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.1
Past year merged pull request: 12
Past year bot issues: 0
Past year bot pull requests: 3
Top Issue Authors
- sporkmonger (3)
- sqrrrl (2)
- a14m (2)
- repo-metadata-lint[bot] (2)
- mvastola (2)
- seanstory (2)
- AnalogJ (2)
- failure-checker[bot] (2)
- jagwire (1)
- seuros (1)
- sanemat (1)
- jylitalo (1)
- myitcv (1)
- ar-abdurrehman (1)
- iheanyi (1)
Top Pull Request Authors
- dazuma (33)
- renovate-bot (21)
- yoshi-code-bot (7)
- release-please[bot] (5)
- yykamei (4)
- bajajneha27 (3)
- hieuk09 (2)
- suztomo (2)
- JustinBeckwith (2)
- viacheslav-rostovtsev (2)
- gogainda (1)
- google-cloud-policy-bot[bot] (1)
- trambui09 (1)
- jas14 (1)
- diptanshumittal (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
- kokoro:force-run (27)
- cla: yes (26)
- autorelease: published (4)
- autorelease: tagged (3)
- autorelease: pending (3)
- autorelease: closed (2)
- kokoro:run (1)
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 854,745,268 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 4 months ago)
- Last Synced: 2025-12-17T08:18:55.301Z (about 5 hours ago)
- Versions: 49
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 427,372,634 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 4 months ago)
- Last Synced: 2025-12-17T08:50:23.059Z (about 5 hours ago)
- Versions: 49
- Dependent Packages: 55
- Dependent Repositories: 31,783
- Downloads: 427,372,634 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.531445183743187