PHP Class AmazonOAuth2Client
The sole purpose of this subclass is to make sure the POST params
for cURL are provided as an urlencoded string rather than an array.
This is because Amazon requires COntent-Type header to be application/x-www-form-urlencoded,
which cURL overrides to multipart/form-data when POST fields are provided as an array
The only difference from Oauth2CLient in authenticate() method is http_build_query()
wrapped around $params. request() and parseRequestResult() methods are exact copies
from Oauth2Client. They are copied here because private scope does not allow calling them
from subclass.
ファイルを表示
Open project: hybridauth/hybridauth
Public Methods
Private Methods
Method Details
authenticate()
public method