Class: OpenID::TrustRoot::TrustRoot

Class | OpenID::TrustRoot::TrustRoot
In: | lib/openid/trustroot.rb
Parent: | Object

### Methods

_build_path _parse_url build_discovery_url check_sanity check_url new parse sane? validate_url

### Attributes

host | [R] |
path | [R] |
port | [R] |
proto | [R] |
unparsed | [R] |
wildcard | [R] |

### Public Class methods

_build_path(path, query=nil, frag=nil)
_parse_url(url)
check_sanity(trust_root_string)
check_url(trust_root, url)

quick func for validating a url against a trust root. See the TrustRoot class if you need more control.

new(unparsed, proto, wildcard, host, port, path)
parse(trust_root)

### Public Instance methods

build_discovery_url()

Return a discovery URL for this realm.

This function does not check to make sure that the realm is valid. Its behaviour on invalid inputs is undefined.

return_to: | The relying party return URL of the OpenID

authentication request

Returns the URL upon which relying party discovery should be run in order to verify the return_to URL

sane?()
validate_url(url)

[Validate]