maxwelldu / oauth-php

Automatically exported from code.google.com/p/oauth-php
MIT License
0 stars 0 forks source link

extend custom curl settings into requestRequestToken() and requestAccessToken() #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using? On what operating system?
98

Please provide any additional information below.
Currently the doRequest() method allows for custom curl options, but this
is lacking inside requestRequestToken() and requestAccessToken()

Original issue reported on code.google.com by tjerk.me...@gmail.com on 11 Mar 2010 at 6:34

GoogleCodeExporter commented 9 years ago
Accepted. I'll submit a patch later--the change is minimal, but I need to test 
it
properly. Thanks!

Original comment by brunobg%...@gtempaccount.com on 11 Mar 2010 at 11:57

GoogleCodeExporter commented 9 years ago
BTW, I'm curious: why do you need to pass extra options? Perhaps it's something 
that
should be handled by the API at a higher level.

Original comment by brunobg%...@gtempaccount.com on 11 Mar 2010 at 12:02

GoogleCodeExporter commented 9 years ago
Hi,

Thanks. For instance, in some cases I would want to disable strict SSL 
checking. Or
send a special request header (forgot whether that's currently supported 
actually)

Original comment by tjerk.me...@gmail.com on 11 Mar 2010 at 12:53

GoogleCodeExporter commented 9 years ago
Ok, thanks for the feedback! Fixed on SVN.

Original comment by brunobg%...@gtempaccount.com on 11 Mar 2010 at 1:39

GoogleCodeExporter commented 9 years ago

Original comment by brunobg%...@gtempaccount.com on 11 Mar 2010 at 1:39