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 HttpCachingDisabler

#disable_http_caching

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