1 | <?php |
||
8 | class SlackAuthorizedUser implements ResourceOwnerInterface |
||
9 | { |
||
10 | protected $response; |
||
11 | |||
12 | /** |
||
13 | * SlackAuthorizedUser constructor. |
||
14 | * |
||
15 | * @param $response |
||
16 | */ |
||
17 | 6 | public function __construct(array $response) |
|
21 | |||
22 | /** |
||
23 | * Returns the identifier of the authorized resource owner. |
||
24 | * |
||
25 | * @return mixed |
||
26 | */ |
||
27 | 6 | public function getId() |
|
31 | |||
32 | /** |
||
33 | * Return all of the owner details available as an array. |
||
34 | * |
||
35 | * @return array |
||
36 | */ |
||
37 | 3 | public function toArray() |
|
41 | |||
42 | 3 | public function getUrl() |
|
46 | |||
47 | 3 | public function getTeam() |
|
51 | |||
52 | 3 | public function getUser() |
|
56 | |||
57 | 3 | public function getTeamId() |
|
61 | |||
62 | 3 | public function getUserId() |
|
66 | } |
||
67 |