Class: Rack::Auth::Fernet
- Inherits:
-
Basic
- Object
- Basic
- Rack::Auth::Fernet
- Defined in:
- lib/rack/fernet.rb
Instance Method Summary collapse
-
#initialize(app, secret, realm = nil) ⇒ Fernet
constructor
A new instance of Fernet.
Constructor Details
#initialize(app, secret, realm = nil) ⇒ Fernet
Returns a new instance of Fernet.
11 12 13 14 15 |
# File 'lib/rack/fernet.rb', line 11 def initialize(app, secret, realm=nil) @app = app @realm = realm @secret = secret end |