Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public function getDeviceCodeEntityByDeviceCode($deviceCode, $grantType, ClientEntityInterface $clientEntity) |
||
39 | { |
||
40 | $deviceCode = new DeviceCodeEntity(); |
||
41 | |||
42 | // The user identifier should be set when the user authenticates on the OAuth server |
||
43 | $deviceCode->setUserIdentifier(1); |
||
44 | |||
45 | return $deviceCode; |
||
46 | } |
||
64 |