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.
Create an OAuth 2.0 client and generate the authorization URI.
require 'signet/oauth_2/client'
client = Signet::OAuth2::Client.new(
authorization_uri: 'https://example.com/oauth/authorize',
token_credential_uri: 'https://example.com/oauth/token',
client_id: 'your_client_id',
client_secret: 'your_client_secret',
scope: 'email',
redirect_uri: 'https://example.com/callback'
)
puts client.authorization_uri
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.