Sha256: e0abc3cadab117e8f1b6833a689f08d1504fb09c81c5e9f4dcbe16bd856645cd
Contents?: true
Size: 598 Bytes
Versions: 13
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 super id_token = Doorkeeper::OpenidConnect::IdToken.new(access_token, nonce) @response.id_token = id_token end end end end OAuth::PasswordAccessTokenRequest.send :prepend, OpenidConnect::OAuth::PasswordAccessTokenRequest end
Version data entries
13 entries across 13 versions & 1 rubygems