Skip to content

Commit

Permalink
Merge pull request #5 from samwilson/token-serialization
Browse files Browse the repository at this point in the history
Allow serialization of full token objects
  • Loading branch information
carlos-mg89 authored Jul 15, 2022
2 parents 7853d0f + ff4d56f commit c14c44e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/OAuth/Common/Token/AbstractToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,4 @@ public function isExpired()
&& $this->getEndOfLife() !== TokenInterface::EOL_UNKNOWN
&& time() > $this->getEndOfLife();
}

public function __sleep()
{
return ['accessToken'];
}
}

0 comments on commit c14c44e

Please sign in to comment.