Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

persistNewAccessToken and persistNewRefreshToken #8

Open
samiboukadida opened this issue Dec 31, 2017 · 1 comment
Open

persistNewAccessToken and persistNewRefreshToken #8

samiboukadida opened this issue Dec 31, 2017 · 1 comment

Comments

@samiboukadida
Copy link

  • 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.

@weierophinney
Copy link
Member

This repository has been closed and moved to mezzio/mezzio-authentication-oauth2; a new issue has been opened at mezzio/mezzio-authentication-oauth2#9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants