Class: Doorkeeper::Request::Assertion
- Inherits:
-
Object
- Object
- Doorkeeper::Request::Assertion
- Defined in:
- lib/doorkeeper/request/assertion.rb
Instance Attribute Summary collapse
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Class Method Summary collapse
Instance Method Summary collapse
- #authorize ⇒ Object
-
#initialize(server) ⇒ Assertion
constructor
A new instance of Assertion.
- #request ⇒ Object
Constructor Details
#initialize(server) ⇒ Assertion
Returns a new instance of Assertion.
12 13 14 |
# File 'lib/doorkeeper/request/assertion.rb', line 12 def initialize(server) @server = server end |
Instance Attribute Details
#server ⇒ Object (readonly)
Returns the value of attribute server.
10 11 12 |
# File 'lib/doorkeeper/request/assertion.rb', line 10 def server @server end |
Class Method Details
.build(server) ⇒ Object
6 7 8 |
# File 'lib/doorkeeper/request/assertion.rb', line 6 def self.build(server) new(server) end |
Instance Method Details
#authorize ⇒ Object
20 21 22 |
# File 'lib/doorkeeper/request/assertion.rb', line 20 def request. end |
#request ⇒ Object
16 17 18 |
# File 'lib/doorkeeper/request/assertion.rb', line 16 def request @request ||= OAuth::AssertionAccessTokenRequest.new(server, Doorkeeper.configuration) end |