2017 © Pedro Peláez
 

library jwt-cas-server

A simple CAS server based on jwt-auth for Laravel 5.3

image

uicosp/jwt-cas-server

A simple CAS server based on jwt-auth for Laravel 5.3

  • Thursday, December 29, 2016
  • by uicosp
  • Repository
  • 1 Watchers
  • 3 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 20 % Grown

The README.md

jwt-cas-server

一个基于 JWT 实现「单点登陆」的 CAS,Central Authentication System 系统。, (*1)

本项目依赖于 Laravel。, (*2)

系统组成

  • CAS Server (服务端,仅有一个)
  • CAS Clients (客户端,多个)

用户只需在 Server 端登陆一次,获得 token 后便可用该令牌访问系统中的任意 Clients。, (*3)

[注意] 此项目为该系统的服务端实现,客户端请移步 https://github.com/uicosp/jwt-cas-client, (*4)

Server 端提供两个基本路由, (*5)

  • POST serverdomain/jwt/login 用于登陆
  • POST serverdomain/jwt/user 用于获取用户信息

此外,本项目已集成第三方微信登陆, (*6)

  • POST serverdomain/jwt/login-via-wechat

安装

composer require "uicosp/jwt-cas-server", (*7)

配置

Uicosp\JwtCasServer\CasServiceProvider::class 添加到 config/app.phpproviders 数组。, (*8)

另外,本项目依赖 typmon/jwt-authlaravel-wecaht,所以还需添加各自的 service provider:, (*9)

Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class,, (*10)

Overtrue\LaravelWechat\ServiceProvider::class, (*11)

The Versions

29/12 2016

dev-master

9999999-dev

A simple CAS server based on jwt-auth for Laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel jwt cas

29/12 2016

1.0.2

1.0.2.0

A simple CAS server based on jwt-auth for Laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel jwt cas

29/12 2016

1.0.1

1.0.1.0

A simple CAS server based on jwt-auth for Laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel jwt cas

29/12 2016

1.0.0

1.0.0.0

A simple CAS server based on jwt-auth for Laravel 5.3

  Sources   Download

MIT

The Requires

 

laravel jwt cas