Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow serialization of full token objects #5

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

samwilson
Copy link

In f08a062
the AbstractToken::__sleep() method was added,
but it breaks serialization of request tokens (as stored in sessions).

Bug: samwilson/phpflickr#50

In carlos-mg89@f08a062
the AbstractToken::__sleep() method was added,
but it breaks serialization of request tokens (as stored in sessions).

Bug: samwilson/phpflickr#50
@samwilson
Copy link
Author

@carlos-mg89 I've asked on that commit about why this was added, because it doesn't seem to reference an issue. So this might be the wrong fix! But it works in my testing for PhpFlickr.

@carlos-mg89
Copy link
Owner

Hi @samwilson , I have no idea why that change was done.

If you think is not right and you've done some testing about it, and since tests keep passing, I'm more than happy to accept the PR.

Will verify in a later occasion and see if there's any issue.

@carlos-mg89 carlos-mg89 merged commit c14c44e into carlos-mg89:master Jul 15, 2022
@samwilson samwilson deleted the token-serialization branch July 15, 2022 08:40
@samwilson
Copy link
Author

Yeah I couldn't figure it out! But let's see how it goes. :) Thanks for making a new release.

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

Successfully merging this pull request may close these issues.

2 participants