add dataAccessExpirationTime property to ClassicToken #415
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
Please do not merge this until fixing the code setting the value of dataAccessExpirationTime in facebook_auth_desktop.
I tested the code only on mobile and couldn't properly test on desktop, so please do and change
dataAccessExpirationTime: DateTime.fromMicrosecondsSinceEpoch(0)
to set the value properly.dataAccessExpirationTime property is a major property that became unavailable after version 7.0.0. As this property encapsulates the time we can use our access token for data access, and not just for authentication (the current
expires
property, which effectively never expires anyway).