2017 © Pedro PelĂĄez
 

simplesamlphp-module simplesamlphp-module-attributefromrestapi

Get attribute from any rest api

image

niif/simplesamlphp-module-attributefromrestapi

Get attribute from any rest api

  • Wednesday, November 4, 2015
  • by gyufi
  • Repository
  • 7 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Authproc filter for SSP to get any attribute from rest api

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

Install module

You can install the module with composer:, (*2)

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., (*3)

config/config.php, (*4)

   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',
       ),

The Versions

04/11 2015

dev-master

9999999-dev

Get attribute from any rest api

  Sources   Download

The Requires

 

30/10 2015

v1.0.0

1.0.0.0

Get attribute from any rest api

  Sources   Download

The Requires