Class: ApiWarden::Authentication::Params
- Inherits:
-
Object
- Object
- ApiWarden::Authentication::Params
- Defined in:
- lib/api_warden/authentication/params.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#authentication ⇒ Object
readonly
Returns the value of attribute authentication.
Instance Method Summary collapse
-
#initialize(authentication) ⇒ Params
constructor
A new instance of Params.
- #request ⇒ Object
- #retrieve_access_token ⇒ Object
- #retrieve_id ⇒ Object
- #retrieve_refresh_token ⇒ Object
- #scope ⇒ Object
Constructor Details
#initialize(authentication) ⇒ Params
Returns a new instance of Params.
8 9 10 |
# File 'lib/api_warden/authentication/params.rb', line 8 def initialize(authentication) @authentication = authentication end |
Instance Attribute Details
#authentication ⇒ Object (readonly)
Returns the value of attribute authentication.
6 7 8 |
# File 'lib/api_warden/authentication/params.rb', line 6 def authentication @authentication end |
Instance Method Details
#request ⇒ Object
16 17 18 |
# File 'lib/api_warden/authentication/params.rb', line 16 def request authentication.request end |
#retrieve_access_token ⇒ Object
24 25 26 |
# File 'lib/api_warden/authentication/params.rb', line 24 def retrieve_access_token raise NotImplementedError end |
#retrieve_id ⇒ Object
20 21 22 |
# File 'lib/api_warden/authentication/params.rb', line 20 def retrieve_id raise NotImplementedError end |
#retrieve_refresh_token ⇒ Object
28 29 30 |
# File 'lib/api_warden/authentication/params.rb', line 28 def retrieve_refresh_token raise NotImplementedError end |
#scope ⇒ Object
12 13 14 |
# File 'lib/api_warden/authentication/params.rb', line 12 def scope authentication.scope end |