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

Adding a refreshed date to sessions #162

Open
peteruithoven opened this issue May 18, 2017 · 1 comment
Open

Adding a refreshed date to sessions #162

peteruithoven opened this issue May 18, 2017 · 1 comment

Comments

@peteruithoven
Copy link
Contributor

On the client we'd like to detect when it's a good moment to refresh the session. Currently we only have a issued date (which is set to the date of a login) and a expires date. This means that after a refresh (which don't currently update the issued) it's impossible to determine a good moment to call refresh.
Also see: micky2be/superlogin-client#59

I propose we add a refreshed field?

Updating the issued doesn't really make sense to me since the token / key and password remain the same?

@colinskow
Copy link
Owner

I like the idea. I will consider this PR next time I get around to making fixes.

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

No branches or pull requests

2 participants