Sha256: acbbb1a022f0358dd9163568606af7790c9f59bfabbd73f1355015ea6653ecb8
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchkeeper-0.6.7 | lib/doorkeeper/request/authorization_code.rb |