Class: Decidim::Doorkeeper::CredentialsController
- Inherits:
-
ApplicationController
- Object
- DecidimController
- ApplicationController
- Decidim::Doorkeeper::CredentialsController
- 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 NeedsSnippets
Methods included from HttpCachingDisabler
Methods included from RegistersPermissions
Methods included from NeedsOrganization
enhance_controller, extended, included
Instance Method Details
#me ⇒ Object
10 11 12 |
# File 'app/controllers/decidim/doorkeeper/credentials_controller.rb', line 10 def me respond_with public_data end |