Skip to content

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