Class: Wampproto::Acceptor::AuthenticateRequest
- Extended by:
- Forwardable
- Defined in:
- lib/wampproto/acceptor/request.rb
Overview
AuthenticateRequest
Instance Attribute Summary collapse
-
#authenticate ⇒ Object
readonly
Returns the value of attribute authenticate.
Attributes inherited from Request
#authextra, #authid, #hello, #realm
Instance Method Summary collapse
-
#initialize(authenticate, hello_request) ⇒ AuthenticateRequest
constructor
A new instance of AuthenticateRequest.
- #secret ⇒ Object
- #ticket ⇒ Object
Methods inherited from Request
Constructor Details
#initialize(authenticate, hello_request) ⇒ AuthenticateRequest
Returns a new instance of AuthenticateRequest.
41 42 43 44 45 |
# File 'lib/wampproto/acceptor/request.rb', line 41 def initialize(authenticate, hello_request) @authenticate = authenticate @hello_request = hello_request super(hello_request.hello) end |
Instance Attribute Details
#authenticate ⇒ Object (readonly)
Returns the value of attribute authenticate.
39 40 41 |
# File 'lib/wampproto/acceptor/request.rb', line 39 def authenticate @authenticate end |
Instance Method Details
#secret ⇒ Object
51 52 53 |
# File 'lib/wampproto/acceptor/request.rb', line 51 def secret @authenticate.signature end |
#ticket ⇒ Object
47 48 49 |
# File 'lib/wampproto/acceptor/request.rb', line 47 def ticket @authenticate.signature end |