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

Add cognitoAuthenticated getter to determine whether session is active #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joefresco
Copy link

Currently, it is impossible to determine if a session has timed out.
This adds a getter that validates the session expiration against the current time.
amazon-cognito-identity-js uses the cognitoSession class to do this, which would be ideal, but I think this approach works.

@ffxsam
Copy link

ffxsam commented Jan 26, 2018

@kesor Just curious, is this repo still maintained? I'd like to contribute, but only if PRs will actually get reviewed and merged.

@kesor
Copy link
Contributor

kesor commented Jan 29, 2018

@ffxsam yes, but at the moment I don't have enough time to add unit tests to PRs. and I don't want to merge commits without unit tests.

Copy link
Contributor

@kesor kesor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does look okay, but will not be merged without unit tests.

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.

4 participants