forked from galette-plugins/plugin-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_define.php
More file actions
51 lines (47 loc) · 1.68 KB
/
Copy path_define.php
File metadata and controls
51 lines (47 loc) · 1.68 KB
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
<?php
declare(strict_types=1);
/**
* OpenID Connect plugin for Galette
*
* PHP version 7
*
* This file is part of 'OpenID Connect plugin for Galette'.
*
* OpenID Connect Plugin for Galette is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* OpenID Connect Plugin for Galette is distributed in the hope that it will
* be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with OpenID Connect Plugin for Galette. If not, see
* <http://www.gnu.org/licenses/>.
*
* @category Plugins
* @package OpenID Connect plugin for Galette
*
* @author Manuel Hervouet <manuelh78dev@ik.me>
* @author Florian Hatat <github@hatat.me>
* @copyright Manuel Hervouet (c) 2021
* @copyright Florian Hatat (c) 2022
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL License 3.0
*/
$this->register(
'Galette OpenID Connect', //Name
'OpenID Connect identity provider', //Short description
'Manuel Hervouet, Florian Hatat', //Author
'1.0.0', //Version
'1.0.0', //Galette compatible version
'openidc', //routing name and translation domain
'2022-06-28', //Release date
[//Permissions needed
'openidc_authorize' => 'member'
],
);
$this->setCsrfExclusions([
'/openidc_*/',
]);