Backporting the 2.0 extension mechanism to 1.1
Martin Atkins
mart at degeneration.co.uk
Mon Aug 11 07:49:09 UTC 2008
I notice that, like sreg, the pape extension is supporting 1.1 by simply
hard-coding the "pape" prefix on its arguments.
This approach is troublesome for the Net::OpenID::Consumer perl library
because it deals only in extension URIs, and supports sreg in 1.1 as a
special case. In order to preserve the abstraction the library would
need to be altered each time an extension adds a new hard-coded prefix
in this way, which is not ideal.
Therefore I'd like to propose that for PAPE and all future
specifications the 2.0 extension mechanism simply be allowed in 1.1. I
don't think it needs any modification in order to work for 1.1, except
that for legacy reasons SREG should continue to have the "sreg" prefix
reserved when in 1.1 mode.
More information about the specs
mailing list