Sha256: fe27043e0b97f926f57ebcefe580ba5d4d4bd8ff6901478f567de383a5e6ccca

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

#module Janus
#  module Strategies
#    class DatabaseAuthenticatable < Base
#      def valid?
#        if params[scope].blank? || 
#          false
#        else
#          keys = resource.authentication_keys
#          keys << :password
#          keys.each { |key| return false if request.params[scope][key].blank? }
#          true
#        end
#      end

#      def authenticate!
#        if params[]
#      end
#    end
#  end
#end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
janus-0.6.0 lib/janus/strategies/database_authenticatable.rb
janus-0.5.0 lib/janus/strategies/database_authenticatable.rb