1 | <?php |
||
14 | class Xing extends AbstractService |
||
15 | { |
||
16 | public function __construct( |
||
17 | CredentialsInterface $credentials, |
||
18 | ClientInterface $httpClient, |
||
19 | TokenStorageInterface $storage, |
||
20 | SignatureInterface $signature, |
||
21 | UriInterface $baseApiUri = null |
||
22 | ) { |
||
23 | parent::__construct($credentials, $httpClient, $storage, $signature, $baseApiUri); |
||
24 | |||
25 | if (null === $baseApiUri) { |
||
26 | $this->baseApiUri = new Uri('https://api.xing.com/v1/'); |
||
27 | } |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function getAuthorizationEndpoint() |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function getAccessTokenEndpoint() |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getRequestTokenEndpoint() |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | protected function validateTokenResponse($responseBody) |
||
70 | |||
71 | } |
||
72 |