Sha256: 5cbb1411dfc536af2e0ab2b5261cdb34d2e0d4c242ed86aaaa900ebd8150dc8a
Contents?: true
Size: 451 Bytes
Versions: 10
Compression:
Stored size: 451 Bytes
Contents
# frozen_string_literal: true module Doorkeeper module Request class AuthorizationCode < Strategy delegate :client, :parameters, to: :server def request @request ||= OAuth::AuthorizationCodeRequest.new( Doorkeeper.configuration, grant, client, parameters ) end private def grant AccessGrant.by_token(parameters[:code]) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems