Class: CASServer::Authenticators::OpenID

Inherits:
Base
  • Object
show all
Defined in:
lib/casserver/authenticators/open_id.rb

Overview

CURRENTLY UNIMPLEMENTED This is just starter code.

Instance Attribute Summary

Attributes inherited from Base

#options, #username

Instance Method Summary collapse

Methods inherited from Base

#configure, #extra_attributes

Instance Method Details

#validate(credentials) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
16
17
18
19
20
21
# File 'lib/casserver/authenticators/open_id.rb', line 13

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