Laravel how to check if user is using sessions or token Laravel Sanctum

后端 未结 0 1187
情歌与酒
情歌与酒 2021-01-21 19:47

A user can authenticate using sanctum cookies if using SPA, or tokens if using a mobile. A user can also add products to cart if either logged in, or not. I\'m trying to hook th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题