You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
请教一个使用场景。我的接口是可选鉴权接口,就是访客和登录用户都可以访问这个接口。
但我现在看文档中的的 authRole 并没有提供类似 optional 的选项。
我要是配置成 null,即使我是登录用户有token,请求也不给携带这个token..... 我该怎么配置?
没理解 authRole 为 null 就不携带token 这个逻辑的合理性
我理解的访客接口,是你可选携带token访问,而不是仅仅只能访客访问
访客接口不应该也同样支持登录用户携带token 访问吗?
Beta Was this translation helpful? Give feedback.
All reactions