Repository navigation
Say plainly in the docs what changes for an app moving to 0.2.0 - #2
Merged
Merged
Conversation
The changelog says in three lines what 0.2.0 changes and what an upgrading app must do: check expires_at before refresh, and expect a text expires_at from 0.1.0 until the next refresh. The README and the sign-in guide add that a strategy with nothing to refresh answers the credentials as they are.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
These doc fixes were pushed to #1 after it was merged, so they never reached main. This adds them, with the 0.2.0 changelog cut to three short lines:
credentialsaddstoken_type,scopeandrefresh_token_expires_at.expires_atuntil their next refresh.refreshalways asks the vendor, so checkexpires_atbefore calling it.expired?andrefresh!are gone.The README and
docs/how-a-sign-in-works.mdadd that a strategy with nothing to refresh returns the credentials unchanged, and that 0.1.0 rows holdexpires_atas text until they refresh. Docs only; no code changes.