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

Improve error handling, doc, add tests for TokenManager "error" event #247

Merged
merged 4 commits into from
Sep 19, 2019

Conversation

aarongranick-okta
Copy link
Contributor

@aarongranick-okta aarongranick-okta commented Sep 9, 2019

Add some tests and minor documentation additions around TokenManager "error" event. This event is emitted when renew() fails because session is expired or invalid.

Will also remove token and emit "error" event if, while renewing, an AuthSdkError is thrown.

@aarongranick-okta aarongranick-okta changed the title Improve doc, add test for TokenManager "error" event Improve error handling, doc, add tests for TokenManager "error" event Sep 11, 2019
@aarongranick-okta aarongranick-okta merged commit 2c5d123 into master Sep 19, 2019
@aarongranick-okta aarongranick-okta deleted the ag-tokenmgr-OKTA-245536 branch September 19, 2019 22:47
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.

2 participants