Ticket #123 (new enhancement)

Opened 10 months ago

give needsSigning() to encodable exceptions

Reported by: http://keturn.myopenid.com/ Assigned to:
Priority: major Milestone:
Keywords: server encodable Cc:
Project: python-openid OpenID Protocol: All versions
Series: 2.x.x Web Browser:

Description

as is currently commented in server.SigningEncoder?.encode, "the isinstance is a bit of a kludge... it means there isn't really an adapter to make the interfaces quite match."

The shortest way to resolve this seems to be to just say "encodable things are signable," and add the needsSigning method to them.