Class | OpenID::OpenIDDiscovery |
In: |
lib/openid/discovery.rb
|
Parent: | Discovery |
OpenID::Discovery encapsulates the logic for doing Yadis and OpenID 1.0 style server discovery. This class uses a session object to manage a list of tried OpenID servers for implemeting server fallback. This is useful the case when a user‘s primary server(s) is not available, and will allow then to try again with one of their alternates.
Pass in a custom filter here if you like. Otherwise you‘ll get all OpenID sso services. filter should produce objects or subclasses of OpenIDServiceEndpoint.
Perform OpenID 1.0 style link rel discovery. No string normalization will be done on url. See Util.normalize_url for information on textual URL transformations.