Method: OpenID::OpenIDServiceEndpoint.from_xrds

Defined in:
lib/openid/consumer/discovery.rb

.from_xrds(uri, xrds) ⇒ Object



196
197
198
199
200
201
202
203
# File 'lib/openid/consumer/discovery.rb', line 196

def self.from_xrds(uri, xrds)
  # Parse the given document as XRDS looking for OpenID services.
  #
  # @rtype: [OpenIDServiceEndpoint]
  #
  # @raises L{XRDSError}: When the XRDS does not parse.
  return Yadis::apply_filter(uri, xrds, self)
end