Class: Doorkeeper::Request::Code
- Defined in:
- lib/doorkeeper/request/code.rb
Instance Attribute Summary
Attributes inherited from Strategy
Instance Method Summary collapse
Methods inherited from Strategy
Constructor Details
This class inherits a constructor from Doorkeeper::Request::Strategy
Instance Method Details
#pre_auth ⇒ Object
8 9 10 |
# File 'lib/doorkeeper/request/code.rb', line 8 def pre_auth server.context.send(:pre_auth) end |
#request ⇒ Object
12 13 14 |
# File 'lib/doorkeeper/request/code.rb', line 12 def request @request ||= OAuth::CodeRequest.new(pre_auth, current_resource_owner) end |