Class: Devise::Oauth2Providable::AuthorizationsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/devise/oauth2_providable/authorizations_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



15
16
17
# File 'app/controllers/devise/oauth2_providable/authorizations_controller.rb', line 15

def create
  respond *authorize_endpoint(:allow_approval).call(request.env)
end

#newObject



11
12
13
# File 'app/controllers/devise/oauth2_providable/authorizations_controller.rb', line 11

def new
  respond *authorize_endpoint.call(request.env)
end