Sha256: e175e1463ba414b61d57ef0b0b3ecf4f0539b9dae5e2d7dea7f76c0b40d21df3

Contents?: true

Size: 353 Bytes

Versions: 33

Compression:

Stored size: 353 Bytes

Contents

module Typus
  module Authentication
    module HttpBasic

      protected

      include Base

      def authenticate
        @admin_user = FakeUser.new
        authenticate_or_request_with_http_basic(Typus.admin_title) do |username, password|
          username == Typus.username && password == Typus.password
        end
      end

    end
  end
end

Version data entries

33 entries across 33 versions & 3 rubygems

Version Path
brainsome_typus-4.0.0.beta13 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta12 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta11 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta10 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta9 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta8 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta7 lib/typus/authentication/http_basic.rb
typus-rails4-4.0.0.beta6 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta6 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta5 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta4 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta3 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta2 lib/typus/authentication/http_basic.rb
brainsome_typus-4.0.0.beta1 lib/typus/authentication/http_basic.rb
typus-3.1.10 lib/typus/authentication/http_basic.rb
typus-3.1.9 lib/typus/authentication/http_basic.rb
typus-3.1.8 lib/typus/authentication/http_basic.rb
typus-3.1.7 lib/typus/authentication/http_basic.rb
typus-3.1.6 lib/typus/authentication/http_basic.rb
typus-3.1.5 lib/typus/authentication/http_basic.rb