Class: Rack::Auth::Fernet

Inherits:
Basic
  • Object
show all
Defined in:
lib/rack/fernet.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, secret, realm = nil) ⇒ Fernet



9
10
11
12
13
# File 'lib/rack/fernet.rb', line 9

def initialize(app, secret, realm=nil)
  @app = app
  @realm = realm
  @secret = secret
end