1 | <?php namespace nyx\auth\id\protocols\oauth1\providers; |
||
16 | class Twitter extends oauth1\Provider |
||
17 | { |
||
18 | /** |
||
19 | * {@inheritDoc} |
||
20 | */ |
||
21 | const URL_REQUEST = 'https://api.twitter.com/oauth/request_token'; |
||
22 | const URL_AUTHORIZE = 'https://api.twitter.com/oauth/authenticate'; |
||
23 | const URL_EXCHANGE = 'https://api.twitter.com/oauth/access_token'; |
||
24 | const URL_IDENTIFY = 'https://api.twitter.com/1.1/account/verify_credentials.json'; |
||
25 | |||
26 | /** |
||
27 | * {@inheritDoc} |
||
28 | */ |
||
29 | const IDENTITY = auth\id\identities\Twitter::class; |
||
30 | |||
31 | /** |
||
32 | * {@inheritDoc} |
||
33 | */ |
||
34 | public function getIdentifyUrl() : string |
||
38 | } |
||
39 |