承接 ahs/persona-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ahs/persona-bundle

Composer 安装命令:

composer require ahs/persona-bundle

包简介

Persona authentication system integration with Symfony aplications

README 文档

README

This Bundle enables integration of the Persona authentication system. It provides a Symfony2 authentication provider so that users can login to a Symfony2 application via Persona.

Installation

  1. Install bundle:

The recommended way to install Persona Bundle is through composer. Just create a composer.json file and run the php composer.phar install command to install it:

      {
          "require": {
              "ahs/persona-bundle": "*"
          }
      }
  1. Add this bundle to your application's kernel:

     // app/ApplicationKernel.php
     public function registerBundles()
     {
         return array(
             // ...
             new AHS\PersonaBundle\AHSPersonaBundle(),
             // ...
         );
     }  
    
  2. Configure your new firewal:

     # app/config/security.yml
     firewalls:
         persona_secured:
             pattern:    ^/
             persona:      true
             logout: true
             anonymous: true
    
  3. Change default configuration (optional):

     # app/config/config.yml
     ahs_persona:
         verifier_url: "your verifier url"
         audience_url: "your audience host"
    

By default bundle works with in_memory provider.

TODO

  • Provide sample controller
  • Provide twig helper for login/logout buttons
  • Create provider for FOSUserBundle
  • Promote Mozilla Persona!
  • Improve readme

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-11-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固