-
Notifications
You must be signed in to change notification settings - Fork 462
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
Making JwtEncoder.Validate() public #128
Conversation
@nskhara please validate whether it'd work for you |
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.
No issues, but it seems like an odd method to make public. As discussed in the issue, the IJwtValidator
is a better interface for this (that already exists), and the signature of this method is not really nice for consumption (it's just an internal method). Seems like it'd be cleaner to just use the IJwtValidator
interface.
My doubt is IValidator becomes very coupled with IDecoder. But I think it's fine. Shall we rework the interface (make public method private and private method public)? |
I'm not quite following what you mean - but I'm happy to review a PR. 😃 |
@abatishchev One thing, would it be nice if you could add the method into the IJwtDecoder interface also?
|
Yes, that's what we've discussed above and I'll address once AppVeyor is functional again. Later this week for sure since I already started. |
Unfortunately I didn't find this feasible to move this |
Shall I check this in? |
thank you, abatishchev :-) |
Resolves #126