forked from kanboard/plugin-client-certificate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlugin.php
40 lines (33 loc) · 851 Bytes
/
Plugin.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
<?php
namespace Kanboard\Plugin\ClientCertificate;
use Kanboard\Core\Plugin\Base;
use Kanboard\Plugin\ClientCertificate\Auth\ClientCertificateAuth;
/**
* SSL Client certificate
*
* @author Frederic Guillot
* @author Selenith
*/
class Plugin extends Base
{
public function initialize()
{
$this->authenticationManager->register(new ClientCertificateAuth($this->container));
}
public function getPluginDescription()
{
return 'SSL client certificate authentication for nginx';
}
public function getPluginAuthor()
{
return 'Frédéric Guillot (original Author) and Selenith';
}
public function getPluginVersion()
{
return '1.1.0';
}
public function getPluginHomepage()
{
return 'https://github.com/selenith/plugin-client-certificate';
}
}