On Wed Mar 02 12:16:40 2011, erik.gimbert@groupsquad.com wrote:
Show quoted text> I encountered a problem trying to use Net-Google-FederatedLogin-0.5.3
> with Catalyst. The attribute, of the method new(), cgi want a CGI object, I
> is not with Catalyst. So I had to replace it with an object Catalyst::
> Request, which also has a method param().
>
> It would be more convenient to directly pass a HashRef which contain the
> parameters.
OK, good point.
I think I'll keep the cgi attribute, but widen that up to be happy with any object that behaves the
same way as CGI where param() is concerned, and add a cgi_params (or something) attribute
that can be used instead for the hashref. Obviously only one of cgi or cgi_params would be
required.