ant-design-pro-blazor
ant-design-pro-blazor copied to clipboard
能否提供一个登陆的参考,wasm前端有拦截器吗,http401
能否提供一个登陆的参考,wasm前端有拦截器吗,
是否能拦截所有请求,比如最常见的 (jwt bearer ) 后端 http401,自动跳转到登录页面
Thanks for contacting us @icetech233 , you can try to use DelegatingHandler and NavigationManager.
Thanks for contacting us @icetech233 , you can try to use DelegatingHandler and NavigationManager.
这个是什么,我指的是自动跳转登陆login页面
只能自己手写,他没写这个
Thanks for contacting us @icetech233 , you can try to use DelegatingHandler and NavigationManager.
这个是什么,我指的是自动跳转登陆login页面
他说的是路由跳转,重定向页面
@JeromyCrother Could you please help add this feature? Using DelegatingHandler to intercept the status code and then show the error message or navigte to Login page.
@icetech233 这有个待合并的分支,可以先看看https://github.com/ant-design-blazor/ant-design-pro-blazor/tree/feat/http-handler
@icetech233 这有个待合并的分支,可以先看看https://github.com/ant-design-blazor/ant-design-pro-blazor/tree/feat/http-handler
是前端 统一登录 统一鉴权吗? 过期自动首页吗