class OpenID::Server::UntrustedReturnURL

A #return_to is outside the trust_root.

Attributes

return_to[R]
trust_root[R]

Public Class Methods

new(message, return_to, trust_root) click to toggle source
Calls superclass method OpenID::Server::ProtocolError.new
# File lib/openid/server.rb, line 1517
def initialize(message, return_to, trust_root)
  super(message)
  @return_to = return_to
  @trust_root = trust_root
end

Public Instance Methods

to_s() click to toggle source
# File lib/openid/server.rb, line 1523
def to_s
  return sprintf("return_to %s not under trust_root %s",
                 @return_to,
                 @trust_root)
end