Sha256: 8f19559c52eb98166157d93bf2a8d10788d5bc2ae6e00f8f482b9cbc5e9c9dc5
Contents?: true
Size: 598 Bytes
Versions: 5
Compression:
Stored size: 598 Bytes
Contents
module Doorkeeper module OpenidConnect module OAuth module PasswordAccessTokenRequest attr_reader :nonce def initialize(server, client, resource_owner, parameters = {}) super @nonce = parameters[:nonce] end private def after_successful_response id_token = Doorkeeper::OpenidConnect::IdToken.new(access_token, nonce) @response.id_token = id_token super end end end end OAuth::PasswordAccessTokenRequest.send :prepend, OpenidConnect::OAuth::PasswordAccessTokenRequest end
Version data entries
5 entries across 5 versions & 1 rubygems