Class: Vanilla::Authentication::Base
- Inherits:
-
Object
- Object
- Vanilla::Authentication::Base
- Defined in:
- lib/vanilla/authentication.rb
Overview
A pass-through authenticator, which never requires a login
Direct Known Subclasses
Instance Method Summary collapse
- #authenticate! ⇒ Object
- #authenticated? ⇒ Boolean
-
#initialize(app) ⇒ Base
constructor
A new instance of Base.
- #logout ⇒ Object
- #user ⇒ Object
Constructor Details
Instance Method Details
#authenticate! ⇒ Object
17 18 |
# File 'lib/vanilla/authentication.rb', line 17 def authenticate! end |
#authenticated? ⇒ Boolean
10 11 12 |
# File 'lib/vanilla/authentication.rb', line 10 def authenticated? true end |
#logout ⇒ Object
20 21 |
# File 'lib/vanilla/authentication.rb', line 20 def logout end |
#user ⇒ Object
14 15 |
# File 'lib/vanilla/authentication.rb', line 14 def user end |