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

关于jwt鉴权拦截器 #5

Open
Andylixunan opened this issue Mar 23, 2022 · 2 comments
Open

关于jwt鉴权拦截器 #5

Andylixunan opened this issue Mar 23, 2022 · 2 comments

Comments

@Andylixunan
Copy link

请教一下,为什么对于JWT token的鉴权interceptor中您使用了jwt manager而不是去请求auth service中的validate token方法,这其中有什么特殊的考量吗?谢谢!

@jxlwqq
Copy link
Owner

jxlwqq commented Mar 24, 2022

就目前的demo的功能而言,两个都可以,如果严格来说的话,还是调用authService好一些。

@jxlwqq
Copy link
Owner

jxlwqq commented Mar 24, 2022

欢迎提交pr

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

No branches or pull requests

2 participants