| Package Data | |
|---|---|
| Maintainer Username: | uicosp |
| Maintainer Contact: | uicosp@gmail.com (Yudu) |
| Package Create Date: | 2016-12-29 |
| Package Last Update: | 2016-12-29 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-04 03:00:03 |
| Package Statistics | |
|---|---|
| Total Downloads: | 20 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 1 |
| Total Forks: | 2 |
| Total Open Issues: | 1 |
一个基于 JWT 实现「单点登陆」的 CAS,Central Authentication System 系统。
本项目依赖于 Laravel。
用户只需在 Server 端登陆一次,获得 token 后便可用该令牌访问系统中的任意 Clients。
[注意] 此项目为该系统的服务端实现,客户端请移步 https://github.com/uicosp/jwt-cas-client
Server 端提供两个基本路由
此外,本项目已集成第三方微信登陆
composer require "uicosp/jwt-cas-server"
将 Uicosp\JwtCasServer\CasServiceProvider::class 添加到 config/app.php 的 providers 数组。
另外,本项目依赖 typmon/jwt-auth 和 laravel-wecaht,所以还需添加各自的 service provider:
Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class,
Overtrue\LaravelWechat\ServiceProvider::class