Class: Decidim::Doorkeeper::AuthorizationsController

Inherits:
Doorkeeper::AuthorizationsController
  • Object
show all
Defined in:
decidim-core/app/controllers/decidim/doorkeeper/authorizations_controller.rb

Overview

Custom Doorkeeper AuthorizationsController to avoid namespace problems.

Instance Method Summary collapse

Instance Method Details

#oauth_applicationObject


9
10
11
# File 'decidim-core/app/controllers/decidim/doorkeeper/authorizations_controller.rb', line 9

def oauth_application
  @oauth_application ||= Decidim::OAuthApplication.find_by(uid: params[:client_id])
end