承接 niif/simplesamlphp-module-attributefromrestapi 相关项目开发

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

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

niif/simplesamlphp-module-attributefromrestapi

最新稳定版本:v1.0.0

Composer 安装命令:

composer require niif/simplesamlphp-module-attributefromrestapi

包简介

Get attribute from any rest api

README 文档

README

This module provides an authprocfilter, that get attributes from rest api in json format.

Install module

You can install the module with composer:

composer require niif/simplesamlphp-module-attributefromrestapi

Authproc Filters

The NameID of the request will be in the attribute as defined above. For example eduPersonPrincipalName. If this nameId is not in the users's attributes there will be shown an exception page, and the authentication process will be stopped.

config/config.php

   authproc.sp = array(
       ...
       '60' => array(
            'class' => 'attributefromrestapi:AttributeFromRestApi',
            'nameId_attribute_name' =>  'subject_nameid', // look at the aa authsource config
            'api_url' =>          'https://www.anyrestapi.com/getData',
       ),

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 7
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-10-30