鉴权的2种解决方案

1,386 阅读1分钟

常用来实现用户鉴权的2种解决方案分别为:cookie-session模式和jwt-token模式

一、Cookie-Session 模式

image.png

二、Token 模式

image.png