Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | protected function execute(InputInterface $input, OutputInterface $output) |
||
43 | { |
||
44 | $params = [ |
||
45 | 'grant_type' => 'example', |
||
46 | 'scope' => 'example', |
||
47 | 'client_id' => 'example', |
||
48 | 'client_secret' => 'example', |
||
49 | 'username' => 'example' |
||
50 | ]; |
||
51 | $token = $this->tokenProvider |
||
52 | ->setParams($params) |
||
53 | ->getAccessToken(); |
||
54 | $output->writeln($token); |
||
55 | } |
||
57 |