PHP Class Hybrid_Providers_Amazon
added by skyverge | https://github.com/skyverge
The Provider is very similar to standard Oauth2 providers with a few differences:
- it sets the Content-Type header explicitly to application/x-www-form-urlencoded
as required by Amazon
- it uses a custom OAuth2Client, because the built-in one does not use http_build_query()
to set curl POST params, which causes cURL to set the Content-Type to multipart/form-data
Mostra file
Open project: hybridauth/hybridauth
Public Properties
Property |
Type |
Description |
|
$scope |
|
default permissions |
|
Public Methods
Method |
Description |
|
getUserProfile ( ) |
load the user profile from the IDp api client |
|
initialize ( ) |
IDp wrappers initializer |
|
Method Details
getUserProfile()
public method
load the user profile from the IDp api client
initialize()
public method
Property Details
$scope public_oe property