Skip to content

Commit

Permalink
readme még
Browse files Browse the repository at this point in the history
  • Loading branch information
szabogyula committed Oct 30, 2015
1 parent 88d882b commit 3db6e93
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
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',
Expand Down

0 comments on commit 3db6e93

Please sign in to comment.