1 | <?php namespace nyx\auth\id\identities; |
||
15 | class Slack extends oauth2\Identity |
||
16 | { |
||
17 | /** |
||
18 | * {@inheritDoc} |
||
19 | */ |
||
20 | protected static $provider = oauth2\providers\Slack::class; |
||
21 | |||
22 | /** |
||
23 | * @var string The identifier of the Team this Identity belongs to (and which provides its access context). |
||
24 | */ |
||
25 | protected $teamId; |
||
26 | |||
27 | /** |
||
28 | * @var string The name of the Team this Identity belongs to (and which provides its access context). |
||
29 | */ |
||
30 | protected $teamName; |
||
31 | |||
32 | /** |
||
33 | * {@inheritDoc} |
||
34 | */ |
||
35 | public function __construct(oauth2\Token $token, array $data) |
||
47 | } |
||
48 |