Class: Otto::Security::PublicStrategy

Inherits:
AuthStrategy show all
Defined in:
lib/otto/security/authentication.rb

Overview

Public access strategy - always allows access

Instance Method Summary collapse

Methods inherited from AuthStrategy

#user_context

Instance Method Details

#authenticate(env, requirement) ⇒ Object



69
70
71
# File 'lib/otto/security/authentication.rb', line 69

def authenticate(env, requirement)
  success
end