Some OAuth providers use limited lifespan access tokens, along with long/indefinitely lived refresh tokens.
This PR implements the shared infrastructure needed for minimal refresh token support (Just storing the refresh token in the session). Currently my client implements the rest of the refreshing; I intend to eventually propose a PR to move that functionality to Imperial as well.
Some OAuth providers use limited lifespan access tokens, along with long/indefinitely lived refresh tokens.
This PR implements the shared infrastructure needed for minimal refresh token support (Just storing the refresh token in the session). Currently my client implements the rest of the refreshing; I intend to eventually propose a PR to move that functionality to
Imperial
as well.