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
godfat-rubycas-server-0.8.0.20090918 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.11 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.10 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.9 lib/casserver/authenticators/open_id.rb
ror-rubycas-server-1.0.c lib/casserver/authenticators/open_id.rb
ror-rubycas-server-1.0.b lib/casserver/authenticators/open_id.rb
ror-rubycas-server-1.0.a lib/casserver/authenticators/open_id.rb
rubycas-server-1.1.2 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.8 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.7 lib/casserver/authenticators/open_id.rb
rubycas-server-1.1.1 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.6 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.5 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.4 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.3 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.2 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.1 lib/casserver/authenticators/open_id.rb
synapses-cas-0.1.0 lib/casserver/authenticators/open_id.rb
bmedia-casserver-1.1.3 lib/casserver/authenticators/open_id.rb
bmedia-casserver-1.1.2 lib/casserver/authenticators/open_id.rb