Class: Grack::AuthSpawner

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/backend/grack_auth.rb

Class Method Summary collapse

Class Method Details

.call(env) ⇒ Object


5
6
7
8
9
# File 'lib/gitlab/backend/grack_auth.rb', line 5

def self.call(env)
  # Avoid issues with instance variables in Grack::Auth persisting across
  # requests by creating a new instance for each request.
  Auth.new({}).call(env)
end