为什么使用tokenEndpoint.postAccessToken
自定义token返回格式后endpoints.exceptionTranslator(this.authWebResponseExceptionTranslator);
为什么不走自定义异常返回
tokenEndPoint人家已经注册了,最好还是直接调用接口。从你这代码中,也没看见哪必须走自定义异常啊。
作者:admin 2021-05-09 我要评论
为什么使用 tokenEndpoint.postAccessToken 自定义token返回格式后 endpoints.exceptionTranslator(this.authWebResponseExceptionTranslator); 为什么不走自定...
为什么使用tokenEndpoint.postAccessToken
自定义token返回格式后endpoints.exceptionTranslator(this.authWebResponseExceptionTranslator);
为什么不走自定义异常返回
tokenEndPoint人家已经注册了,最好还是直接调用接口。从你这代码中,也没看见哪必须走自定义异常啊。
版权声明:本文转载自网络,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。本站转载出于传播更多优秀技术知识之目的,如有侵权请联系QQ/微信:153890879删除