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