Registry / auth / rack-oauth2

rack-oauth2

JSON →
library2.3.0rbrubygemsunverified

OAuth 2.0 Server and Client Library supporting Bearer token type.

gem install rack-oauth2
INSTALL
IMPORT
SIG · RACK-OAUTH2
R
rack-oauth2
authrubyv2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Rack::OAuth2
require 'rack/oauth2'

Create an OAuth 2.0 client and generate an authorization URI.

require 'rack/oauth2' # Example: Create an OAuth 2.0 client client = Rack::OAuth2::Client.new( identifier: 'client_id', secret: 'client_secret', redirect_uri: 'http://localhost/callback' ) # Generate authorization URI auth_uri = client.authorization_uri( response_type: :code, scope: 'openid email' ) puts auth_uri
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
rack-oauth2 — gem install rack-oauth2 · libregistry