Module: OpenID::Yadis::XRI

Module | OpenID::Yadis::XRI
In: | lib/openid/yadis/xri.rb lib/openid/yadis/xrires.rb

### Methods

append_args escape_for_iri identifier_scheme iri_to_uri make_xri provider_is_authoritative root_authority to_iri_normal to_uri_normal urlencode

### Classes and Modules

Class OpenID::Yadis::XRI::ProxyResolver
Class OpenID::Yadis::XRI::XRIHTTPError

### Constants

XRI_AUTHORITIES | = | ["!", "=", "@", "+", "$", "("] |  | The ’(’ is for cross-reference authorities, and hopefully has a matching ’)’ somewhere.

### Public Class methods

append_args(url, args)
escape_for_iri(xri)

Note this is not not idempotent, so do not apply this more than once. XRI Syntax section 2.3.2

identifier_scheme(identifier)
iri_to_uri(iri)

RFC 3987 section 3.1

make_xri(xri)
provider_is_authoritative(provider_id, canonical_id)
root_authority(xri)
to_iri_normal(xri)

Transform an XRI reference to an IRI reference. Note this is not not idempotent, so do not apply this to an identifier more than once. XRI Syntax section 2.3.1

to_uri_normal(xri)

Transform an XRI reference to a URI reference. Note this is not not idempotent, so do not apply this to an identifier more than once. XRI Syntax section 2.3.1

urlencode(args)

[Validate]