mezzio-authentication-oauth2 icon indicating copy to clipboard operation
mezzio-authentication-oauth2 copied to clipboard

persistNewAccessToken and persistNewRefreshToken

Open weierophinney opened this issue 5 years ago • 0 comments

  • AccessTokenRepository : Lines 71 and 72 ':revoked' => (int)false, ':expires_at' => date("Y-m-d H:i:s", $accessTokenEntity->getExpiryDateTime()->getTimestamp())
  • RefreshTokenRepository : lines 32 and 33 $sth->bindValue(':revoked', (int)false); $sth->bindValue(':expires_at', date("Y-m-d H:i:s", $refreshTokenEntity->getExpiryDateTime()->getTimestamp()));

i have to make that, to persist the record without error.

Thanks.


Originally posted by @samiboukadida at https://github.com/zendframework/zend-expressive-authentication-oauth2/issues/8

weierophinney avatar Dec 31 '19 20:12 weierophinney