Method: Redd::AuthStrategies::Web#authenticate
- Defined in:
- lib/redd/auth_strategies/web.rb
#authenticate(code) ⇒ Access
Authenticate with a code using the “web” flow.
17 18 19 |
# File 'lib/redd/auth_strategies/web.rb', line 17 def authenticate(code) request_access('authorization_code', code: code, redirect_uri: @redirect_uri) end |