Download the PHP package rediris-es/simplesamlphp-module-papi without Composer
On this page you can find all versions of the php package rediris-es/simplesamlphp-module-papi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rediris-es/simplesamlphp-module-papi
More information about rediris-es/simplesamlphp-module-papi
Files in rediris-es/simplesamlphp-module-papi
Package simplesamlphp-module-papi
Short Description A SimpleSAMLphp module adding support for the PAPI protocol.
License
Informations about the package simplesamlphp-module-papi
PAPI module
The papi module provides a single authentication module:
papi:PAPI
: authenticate using the PAPI protocol.
This authentication module makes use of an external library, phpPoA, in order to authenticate users by means of the PAPI protocol. It can therefore be used to bridge between protocols, behaving like a PAPI Point of Access or as a Service Provider.
Installation
Once you have installed SimpleSAMLphp, installing this module is very simple. Just execute the following command in the root of your SimpleSAMLphp installation:
where dev-master
instructs Composer to install the master
branch from the Git repository. See the
releases available if you
want to use a stable version of the module.
Usage
To use this module, enable it by creating a file named enable
in the modules/papi/
directory. Then you need to add
an authentication source which makes use of the papi:PAPI
module to the config/authsources.php
file:
User attributes
If user attributes were received upon successful authentication, then their exact names and values will be transferred
into the $state['Attributes']
array. Please note that attribute name mapping could be needed. There's no support for
asking specific attributes during PAPI authentication. Attributes released to a Service Provider must be agreed and
configured on beforehand.