vue-auth-cognito icon indicating copy to clipboard operation
vue-auth-cognito copied to clipboard

Add cognitoAuthenticated getter to determine whether session is active

Open joefresco opened this issue 6 years ago • 2 comments

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.

joefresco avatar Oct 20 '17 15:10 joefresco

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

ffxsam avatar Jan 26 '18 16:01 ffxsam

@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.

kesor avatar Jan 29 '18 08:01 kesor