Sha256: 7b1e13161588e085590245280e01f0a55fc968ee3960f5f9057f84c290c368b4

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

module Devise
  module Models
    module OpenidAuthenticatable
      def self.included(base)
        base.extend ClassMethods
      end

      module ClassMethods
        def find_by_identity_url(identity_url)
          find(:first, :conditions => {:identity_url => identity_url})
        end
      end
      
      module InstanceMethods
        def valid_for_authentication?
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise_openid_authenticatable-1.1.3 lib/devise_openid_authenticatable/model.rb
devise_openid_authenticatable-1.1.2 lib/devise_openid_authenticatable/model.rb
devise_openid_authenticatable-1.1.1 lib/devise_openid_authenticatable/model.rb
devise_openid_authenticatable-1.1.0 lib/devise_openid_authenticatable/model.rb