Sha256: 66e31fb2bdcbfa8e5a5d45f2f5b1273e8ef46a90acec09bc233b86e5e1f105c2
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 Bytes
Contents
# frozen_string_literal: true module Doorkeeper module OpenidConnect class UserinfoController < ::Doorkeeper::ApplicationController skip_before_action :verify_authenticity_token before_action -> { doorkeeper_authorize! :openid } def show render json: Doorkeeper::OpenidConnect::UserInfo.new(doorkeeper_token), status: :ok end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-openid_connect-1.7.2 | app/controllers/doorkeeper/openid_connect/userinfo_controller.rb |