Class: Decidim::Doorkeeper::CredentialsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/decidim/doorkeeper/credentials_controller.rb

Overview

A controller to expose a simple JSON API so OAuth clients can get the user’s information.

Instance Method Summary collapse

Methods included from UserBlockedChecker

#check_user_block_status, #check_user_not_blocked

Methods included from NeedsSnippets

#snippets

Methods included from HttpCachingDisabler

#disable_http_caching

Methods included from HasStoredPath

#skip_store_location?, #store_current_location

Methods included from RegistersPermissions

register_permissions

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#meObject



10
11
12
# File 'app/controllers/decidim/doorkeeper/credentials_controller.rb', line 10

def me
  respond_with public_data
end