-
Notifications
You must be signed in to change notification settings - Fork 226
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 new error type to AuthenticationError #820
Conversation
let error = AuthenticationError(info: values, statusCode: 403) | ||
expect(error.isInvalidRefreshToken) == true | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the "should not match any custom error" and "should not match any known error" test cases as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick review! Updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lordzsolt for the contribution! Please address the requested change and it should be ready to merge.
This is now out in v2.6.0. |
📋 Changes
This PR adds new error types to AuthenticationError to match those in Auth0.Android:
isInvalidRefreshToken
📎 References
🎯 Testing
Test was added according to existing test specs.