Sha256: d499de325c092d51e9d9e2f4e639eba5396d0213b1dbbe7c9893ad77aa0597ef

Contents?: true

Size: 190 Bytes

Versions: 11

Compression:

Stored size: 190 Bytes

Contents

Warden::Strategies.add(:pass) do
  def authenticate!
    request.env['warden.spec.strategies'] ||= []
    request.env['warden.spec.strategies'] << :pass
    success!("Valid User")
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
hassox-warden-0.2.1 spec/warden/strategies/pass.rb
hassox-warden-0.2.2 spec/warden/strategies/pass.rb
hassox-warden-0.2.3 spec/warden/strategies/pass.rb
hassox-warden-0.3.0 spec/warden/strategies/pass.rb
hassox-warden-0.3.1 spec/warden/strategies/pass.rb
hassox-warden-0.3.2 spec/warden/strategies/pass.rb
warden-0.3.2 spec/warden/strategies/pass.rb
warden-0.3.1 spec/warden/strategies/pass.rb
warden-0.2.2 spec/warden/strategies/pass.rb
warden-0.2.3 spec/warden/strategies/pass.rb
warden-0.2.1 spec/warden/strategies/pass.rb