ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
module_oauth.php
Go to the documentation of this file.
1<?php
2/*
3 * Configuration for the OAuth module.
4 *
5 */
6
7$config = array (
8
9 /* Enable the getUserInfo endpoint. Do not enable unless you know what you do.
10 * It may give external parties access to userInfo unless properly secured.
11 */
12 'getUserInfo.enable' => TRUE,
13
14 'requestTokenDuration' => 60*30, // 30 minutes
15 'accessTokenDuration' => 60*60*24, // 24 hours
16 'nonceCache' => 60*60*24*14, // 14 days
17
18
19 // Tag to run storage cleanup script using the cron module...
20 'cron_tag' => 'hourly',
21
22 // auth is the idp to use for admin authentication,
23 // useridattr is the attribute-name that contains the userid as returned from idp
24 'auth' => 'default-sp',
25 'useridattr', 'user',
26
27);
28
An exception for terminatinating execution or to throw for unit testing.
$config
Definition: module_oauth.php:7