Sha256: 7642ad2f4ab0dc6d3e51538b8c30cfb52b9b48be53f3e8d484b35eafadb05027

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 Bytes

Contents

require 'castronaut/adapters/active_record_adapter'

module Castronaut
  module Adapters
    module RestfulAuthentication
      
      class Adapter < Castronaut::Adapters::Base
        
        def self.user_class
          Castronaut::Adapters::RestfulAuthentication::User
        end
      
        def self.authenticate(username, password)
          self.user_class.authenticate(username, password)
        end
      
      end
    
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
3mix-castronaut-0.5.0.2 lib/castronaut/adapters/restful_authentication/adapter.rb
masover-castronaut-0.4.4.4 lib/castronaut/adapters/restful_authentication/adapter.rb
masover-castronaut-0.4.4.5 lib/castronaut/adapters/restful_authentication/adapter.rb
masover-castronaut-0.5.0.1 lib/castronaut/adapters/restful_authentication/adapter.rb