Sha256: 85777dd6a7e91e36a7a20f9b214b30a4168b041074a4b5d9e490f522690401f7

Contents?: true

Size: 655 Bytes

Versions: 28

Compression:

Stored size: 655 Bytes

Contents

require 'casserver/authenticators/base'

require 'openid'
require 'openid/extensions/sreg'
require 'openid/extensions/pape'
require 'openid/store/memory'


# CURRENTLY UNIMPLEMENTED
# This is just starter code.
class CASServer::Authenticators::OpenID < CASServer::Authenticators::Base

  def validate(credentials)
    raise NotImplementedError, "The OpenID authenticator is not yet implemented. "+
      "See http://code.google.com/p/rubycas-server/issues/detail?id=36 if you are interested in helping this along."

    read_standard_credentials(credentials)

    store = OpenID::Store::Memory.new
    consumer = OpenID::Consumer.new({}, store)
  end
end

Version data entries

28 entries across 28 versions & 6 rubygems

Version Path
bmedia-casserver-1.1.1 lib/casserver/authenticators/open_id.rb
rubycas-server-1.1.0 lib/casserver/authenticators/open_id.rb
rubycas-server-1.0.1 lib/casserver/authenticators/open_id.rb
rubycas-server-1.0 lib/casserver/authenticators/open_id.rb
uchouhan-rubycas-server-1.3.a lib/casserver/authenticators/open_id.rb
uchouhan-rubycas-server-1.2.a lib/casserver/authenticators/open_id.rb
uchouhan-rubycas-server-1.1.a lib/casserver/authenticators/open_id.rb
uchouhan-rubycas-server-1.0.a lib/casserver/authenticators/open_id.rb