Method: OAuth2c::TwoLegged::Base#token

Defined in:
lib/oauth2c/two_legged.rb

#tokenObject



31
32
33
34
# File 'lib/oauth2c/two_legged.rb', line 31

def token
  ok, response = @agent.token(**token_params, scope: @scope)
  handle_token_response(ok, response)
end