Sha256: 38b34cf95372ccb111e00b15fbef8c2bfcb4aff0c3833fad44c3f2e9f72136c3
Contents?: true
Size: 530 Bytes
Versions: 41
Compression:
Stored size: 530 Bytes
Contents
module Doorkeeper module Request class AuthorizationCode def self.build(server) new(server.grant, server.client, server) end attr_accessor :grant, :client, :server def initialize(grant, client, server) @grant, @client, @server = grant, client, server end def request @request ||= OAuth::AuthorizationCodeRequest.new(Doorkeeper.configuration, grant, client, server.parameters) end def authorize request.authorize end end end end
Version data entries
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-0.6.0.rc1 | lib/doorkeeper/request/authorization_code.rb |