PHP Класс 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
Показать файл
Открыть проект
Открытые свойства
Свойство |
Тип |
Описание |
|
$scope |
|
default permissions |
|
Открытые методы
Описание методов
getUserProfile()
публичный Метод
load the user profile from the IDp api client
initialize()
публичный Метод
Описание свойств
$scope публичное свойство