We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6851284 commit b53b0b7Copy full SHA for b53b0b7
examples/src/Repositories/DeviceCodeRepository.php
@@ -49,6 +49,8 @@ public function getDeviceCodeEntityByDeviceCode(string $deviceCode): ?DeviceCode
49
$deviceCodeEntity->setIdentifier($deviceCode);
50
$deviceCodeEntity->setExpiryDateTime(new DateTimeImmutable('now +1 hour'));
51
$deviceCodeEntity->setClient($clientEntity);
52
+ $deviceCodeEntity->setLastPolledAt(new DateTimeImmutable());
53
+ $deviceCodeEntity->setInterval(5);
54
55
// The user identifier should be set when the user authenticates on the
56
// OAuth server, along with whether they approved the request
0 commit comments