承接 glokon/crowd-auth 相关项目开发

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

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

glokon/crowd-auth

最新稳定版本:0.9.0

Composer 安装命令:

composer require glokon/crowd-auth

包简介

A simple way to implement Atlassian Crowd Authentication into your application.

README 文档

README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality Code Coverage

A simple way to implement Atlassian Crowd Authentication into your application.

SUPPORTED VERSIONS: Atlassian Crowd 2.1 and later versions only.

Quick start

Laravel 4.2.x

In the require key of composer.json file add the following

"glokon/crowd-auth": "*"

Run the Composer update comand

$ composer update

In your config/app.php add 'GLOKON\CrowdAuth\CrowdAuthServiceProvider' to the end of the providers array

'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'GLOKON\CrowdAuth\CrowdAuthServiceProvider',
),

Now generate the Crowd Auth migrations (make sure you have your database configuration set up):

$ php artisan migrate --package="glokon/crowd-auth"

This will setup three tables - crowd_users, crowd_groups and crowdgroup_crowduser.

Now publish the config files for this package:

$ php artisan config:publish "glokon/crowd-auth"

Once the configuration is published go to your config/packages/glokon/crowd-auth/crowdauth.php and configure your Atlassian Crowd settings.

After you have configured your Atlassian Crowd settings you need to change the driver setting in config/auth.php to:

'driver' => 'crowd-auth',

Once all this is completed you can simply use Auth::Attempt() and it will attempt to login using your Atlassian Crowd server.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-08-05