Sha256: 8aa113de2c576ebfce6b621c9240fbb0908b508b13a91c54ed676007837d75f3

Contents?: true

Size: 662 Bytes

Versions: 22

Compression:

Stored size: 662 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

22 entries across 22 versions & 6 rubygems

Version Path
arpitjain11-rubycas-server-0.8.0.20090612 lib/casserver/authenticators/open_id.rb
arpitjain11-rubycas-server-0.8.0.20090613 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.6.99.336 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.7.999.20090212 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.7.9999.20090212 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.8.0.20090213 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.8.0.20090225 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.8.0.20090227 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.8.0.20090427 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.8.0.20090430 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.8.0.20090506 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.8.0.20090715 lib/casserver/authenticators/open_id.rb
gunark-rubycas-server-0.8.0.20090812 lib/casserver/authenticators/open_id.rb
kch-rubycas-server-0.8.0.20090715 lib/casserver/authenticators/open_id.rb
wmernagh-rubycas-server-0.6.99.336 lib/casserver/authenticators/open_id.rb
wmernagh-rubycas-server-0.7.1.1 lib/casserver/authenticators/open_id.rb
brontes3d-rubycas-server-0.8.0.20100111 lib/casserver/authenticators/open_id.rb
brontes3d-rubycas-server-0.8.0.20091208 lib/casserver/authenticators/open_id.rb
brontes3d-rubycas-server-0.8.0.20090812 lib/casserver/authenticators/open_id.rb
rubycas-server-0.7.0 lib/casserver/authenticators/open_id.rb