Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function load(ObjectManager $manager) |
||
19 | { |
||
20 | $clientManager = $this->OAuthClientManager; |
||
21 | $client = $clientManager->createClient(); |
||
22 | $client->setRedirectUris(['http://127.0.0.1:8080/']); |
||
23 | $client->setAllowedGrantTypes(['password']); |
||
24 | $clientManager->updateClient($client); |
||
25 | } |
||
26 | } |