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.
13 14 15 |
# File 'lib/doorkeeper/request/assertion.rb', line 13 def initialize(server) @server = server end |
Instance Attribute Details
#server ⇒ Object (readonly)
Returns the value of attribute server.
11 12 13 |
# File 'lib/doorkeeper/request/assertion.rb', line 11 def server @server end |
Class Method Details
.build(server) ⇒ Object
7 8 9 |
# File 'lib/doorkeeper/request/assertion.rb', line 7 def self.build(server) new(server) end |
Instance Method Details
#authorize ⇒ Object
21 22 23 |
# File 'lib/doorkeeper/request/assertion.rb', line 21 def request. end |
#request ⇒ Object
17 18 19 |
# File 'lib/doorkeeper/request/assertion.rb', line 17 def request @request ||= OAuth::AssertionAccessTokenRequest.new(server, Doorkeeper.configuration) end |