Sha256: f73a55cb4a7f7fcb023f69e695753b8aa4135d4cb86bd81108f86b1489c36d66
Contents?: true
Size: 379 Bytes
Versions: 15
Compression:
Stored size: 379 Bytes
Contents
module Doorkeeper class TokenInfoController < ::Doorkeeper::ApplicationController def show if doorkeeper_token && doorkeeper_token.accessible? render :json => doorkeeper_token, :status => :ok else error = OAuth::ErrorResponse.new(:name => :invalid_request) render :json => error.body, :status => error.status end end end end
Version data entries
15 entries across 15 versions & 1 rubygems