-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathModule.php
More file actions
44 lines (36 loc) · 927 Bytes
/
Module.php
File metadata and controls
44 lines (36 loc) · 927 Bytes
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
<?php
/**
* Keycloak Sign-In
* @link https://github.com/cuzy-app/auth-keycloak
* @license https://github.com/cuzy-app/auth-keycloak/blob/master/docs/LICENCE.md
* @author [Marc FARRE](https://marc.fun) for [CUZY.APP](https://www.cuzy.app)
*/
namespace humhub\modules\authKeycloak;
use humhub\components\Module as BaseModule;
use yii\helpers\Url;
class Module extends BaseModule
{
/**
* @var string defines the icon
*/
public $icon = 'sign-in';
/**
* @var bool When connecting to Keycloak API, check if SSL certificate is valid
*/
public $apiVerifySsl = true;
/**
* @inheritdoc
*/
public function getConfigUrl()
{
return Url::to(['/auth-keycloak/config']);
}
public function getName()
{
return 'Keycloak Sign-In';
}
public function getDescription()
{
return 'Integrating Keycloak Sign-In (OAuth 2.0)';
}
}