diaspora/app/controllers/api/v0/base_controller.rb
theworldbright 88d02ea35b Add client registration
Client must now be registered prior to imitating a
call to the token endpoint with the password flow.

Squashed commits:

[fdcef62] Rename authorization endpoint to protected resource endpoint
2016-01-04 16:49:48 +09:00

5 lines
148 B
Ruby

class Api::V0::BaseController < ApplicationController
include OpenidConnect::ProtectedResourceEndpoint
before_filter :require_access_token
end