flexcoders/opauth-saml 问题修复 & 功能扩展

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

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

flexcoders/opauth-saml

Composer 安装命令:

composer require flexcoders/opauth-saml

包简介

SAML strategy for Opauth

README 文档

README

Opauth strategy for SAML authentication.

Opauth is a multi-provider authentication framework for PHP.

Under development, do not use.

Getting started

  1. Install Opauth-Ldap:

    cd path_to_opauth/Strategy
    git clone git://github.com/flexcoders/opauth-saml.git saml
  2. Configure Opauth-Saml strategy.

  3. Call it.

You call it like so:

// some input vars
$providerName = "Saml";

// prep a config
$config = [
	'provider' => $providerName,
	'username' => $_POST['username'],
	'password' => $_POST['password'],
	'request_uri' => '/current/uri/'.strtolower($providerName),
	'callback_url' => '/your/uri/for/callback/'.strtolower($providerName),
];

// construct the Opauth object
$this->opauth = new \Opauth($config, true);

It will attempt an SAML login, and then redirect to the callback url, just like with all other Opauth strategies, and with a similar response.

Strategy configuration

Required parameters:

<?php
'Saml' => array(
)

References

License

Opauth-Ldap is MIT Licensed Copyright © 2015 FlexCoders Ltd (http://flexcoders.co.uk)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-04