当前位置: 首页 > 软件库 > Web应用开发 > Web框架 >

sanctum

授权协议 MIT License
开发语言 PHP
所属分类 Web应用开发、 Web框架
软件类型 开源软件
地区 不详
投 递 者 蒋俊
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Build Status

Introduction

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.

Official Documentation

Documentation for Sanctum can be found on the Laravel website.

Contributing

Thank you for considering contributing to Sanctum! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Laravel Sanctum is open-sourced software licensed under the MIT license.

  • 1. 安装laravel项目 1.1. 使用composer安装 composer create-project laravel/laravel example-app 1.2. 使用laravel composer global require laravel/installer #安装laravel ​ laravel new example-app 2. 进入项目目录 cd exampl

  • 挺长时间没有看电影了,加上团购了电影卷,昨天晚上就和lp去看电影。可选择的影片不多,看到夺命深渊是3D的,就看这个了。 结果整个电影看的过程中都很压抑,总之面对大自然的力量,人类还是很渺小的,不断的死人总是不太舒服。尤其片中反应了大难临头时,人性的扭曲,还有为了不忍心看父亲受苦,亲手结果父亲性命,为了活命吃自己女友...  以后这类的电影还是少看,压抑、郁闷。    

 相关资料
  • Laravel sanctum让我有点头疼,因为我花了几个小时试图弄清楚为什么route不返回任何内容。最初未找到相同的路由返回404,但在添加 。我也运行了laravel的新安装,PHP工匠优化,清除了我的浏览器历史,检查了邮递员中的endpoint,但仍然相同的异常

  • 我有一个api,需要在控制器中获取用户信息 这个api需要在登录 或者 不登录的情况下都能访问 如果我不加上 auth:sanctum 中间件则无法通过Auth::check()来验证用户是否登录 没有加上中间件 auth:sanctum , Auth::check() 方法始终返回的是false 我想在控制器中来验证用户信息而不是在中间件中验证直接返回401 望大佬解答

相关阅读

相关文章

相关问答

相关文档