module Doorkeeper::OpenidConnect::OAuth::Authorization::Code

Public Instance Methods

issue_token() click to toggle source
Calls superclass method
# File lib/doorkeeper/openid_connect/oauth/authorization/code.rb, line 6
def issue_token
  super.tap do |access_grant|
    if pre_auth.nonce.present?
      ::Doorkeeper::OpenidConnect::Request.create!(
        access_grant: access_grant,
        nonce: pre_auth.nonce
      )
    end
  end
end