-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88d882b
commit 3db6e93
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
# Authproc filter for SSP to get any attribute from rest api | ||
* Author: Gyula Szabó <[email protected]>, NIIF Institute, Hungary | ||
|
||
This module provides an authprocfilter. | ||
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. | ||
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.aa = array( | ||
authproc.sp = array( | ||
... | ||
'60' => array( | ||
'class' => 'attributefromrestapi:attributeFromRestApi', | ||
|