-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmodule.combodo-hybridauth.php
84 lines (78 loc) · 1.99 KB
/
module.combodo-hybridauth.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
/**
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://www.combodo.com/documentation/combodo-software-license.html
*
*/
//
// iTop module definition file
//
SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'combodo-hybridauth/1.2.5',
array(
// Identification
//
'label' => 'oAuth/OpenID authentication',
'category' => 'business',
// Setup
//
'dependencies' => array(
'combodo-oauth2-client/1.0.0',
),
'mandatory' => false,
'visible' => true,
// Components
//
'datamodel' => array(
'model.combodo-hybridauth.php',
'vendor/autoload.php',
'src/HybridAuthLoginExtension.php',
'src/Config.php',
),
'webservice' => array(
),
'data.struct' => array(
// add your 'structure' definition XML files here,
),
'data.sample' => array(
// add your sample data XML files here,
),
// Documentation
//
'doc.manual_setup' => '', // hyperlink to manual setup documentation, if any
'doc.more_information' => '', // hyperlink to more information, if any
// Default settings
//
'settings' => array(
'debug' => false,
'synchronize_user' => false,
'synchronize_contact' => false,
'default_organization' => '',
'default_profile' => 'Portal User',
'providers' => array(
'Google' => array(
'enabled' => true,
'keys' => array(
'id' => 'your-google-client-id',
'secret' => 'your-google-client-secret'
),
),
'Twitter' => array(
'enabled' => false, //Optional: indicates whether to enable or disable Twitter adapter. Defaults to false
'keys' => array(
'key' => '...', //Required: your Twitter consumer key
'secret' => '...' //Required: your Twitter consumer secret
),
),
'Facebook' => array(
'enabled' => false,
'keys' => array(
'id' => '...',
'secret' => '...',
),
),
),
),
)
);