定制 genj/sso-client-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

genj/sso-client-bundle

Composer 安装命令:

composer require genj/sso-client-bundle

包简介

Genj Single Sign-On Client bundle

README 文档

README

The client 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-client-bundle": "dev-master"
}

Add the bundle to your AppKernel.php

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

Make sure you have set the following parameters in your parameters.yml. During the composer install it will prompt you for these settings. the server url should be the full domain, including the base path of your SSO Server routings

    genj_sso_client_server_url: http://webservice.dev/sso/command
    genj_sso_client_broker_secret: 6I3xRWQ4MAMppTvO3nm5

Add the following pararmeters to your config.yml

genj_sso_client:
    broker_identifier: ABrokerIdentifierKnownOnTheServer
    broker_secret: SomeVerySecretKey
    server_url: %genj_sso_client_server_url% # Replace 

Add the following routes to your routing.yml

genj_sso_client_login:
    pattern:  /login
    defaults: { _controller: GenjSsoClientBundle:Login:index }

genj_sso_client_logout:
    pattern:  /logout
    defaults: { _controller: GenjSsoClientBundle:Login:logout }

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固