genj/sso-server-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

genj/sso-server-bundle

Composer 安装命令:

composer require genj/sso-server-bundle

包简介

Genj Single Sign-On Client bundle

README 文档

README

The server side bundle to add Single Sign-On login functionality to your site

Requirements

  • Curl

Installation

Add the bundle to your composer.json

"require": {
    ...
    "genj/sso-server-bundle": "dev-master"
}

Add the bundle to your AppKernel.php

public function registerBundles() {
        $bundles = array(
            ...
            new Genj\SsoServerBundle\GenjSsoServerBundle(),
        );

Add the following pararmeters to your config.yml

genj_sso_server:
    brokers:
        SPECIALNAME:
            secret: SUPERSECRETTOKEN

Add the following routes to your routing.yml

genj_sso_server_command_attach:
    pattern:  /sso/command/attach
    defaults: { _controller: GenjSsoServerBundle:Sso:attach }

genj_sso_server_command_info:
    pattern:  /sso/command/info
    defaults: { _controller: GenjSsoServerBundle:Sso:info }

genj_sso_server_command_login:
    pattern:  /sso/command/login
    defaults: { _controller: GenjSsoServerBundle:Sso:login }

genj_sso_server_command_logout:
    pattern:  /sso/command/logout
    defaults: { _controller: GenjSsoServerBundle:Sso:logout }

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-11-19