1 | <?php |
||
15 | class Amazon extends AbstractService |
||
16 | { |
||
17 | /** |
||
18 | * Defined scopes |
||
19 | * @link https://images-na.ssl-images-amazon.com/images/G/01/lwa/dev/docs/website-developer-guide._TTH_.pdf |
||
20 | */ |
||
21 | const SCOPE_PROFILE = 'profile'; |
||
22 | const SCOPE_POSTAL_CODE = 'postal_code'; |
||
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | public function init() |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function getAuthorizationEndpoint() |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function getAccessTokenEndpoint() |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | protected function getAuthorizationMethod() |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | protected function parseAccessTokenResponse($responseBody) |
||
89 | } |
||
90 |