1 | <?php |
||
7 | trait AuthorizationFlow |
||
8 | { |
||
9 | /** |
||
10 | * Authorize url. |
||
11 | * |
||
12 | * @return string |
||
13 | */ |
||
14 | 2 | public function authorizeUrl() |
|
18 | |||
19 | /** |
||
20 | * Build authorization url. |
||
21 | * |
||
22 | * @param \OAuth1\Contracts\Tokens\RequestTokenInterface $requestToken |
||
23 | * |
||
24 | * @return string |
||
25 | */ |
||
26 | 1 | public function buildAuthorizationUrl(RequestTokenInterface $requestToken) |
|
34 | |||
35 | /** |
||
36 | * Get client configuration. |
||
37 | * |
||
38 | * @return \OAuth1\Contracts\ConfigInterface |
||
39 | */ |
||
40 | abstract public function config(); |
||
41 | } |
||
42 |