-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodule.php
More file actions
42 lines (39 loc) · 1002 Bytes
/
module.php
File metadata and controls
42 lines (39 loc) · 1002 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
<?php
class wfm_ppHybridauth extends wf_module {
public function __construct($wf) {
$this->wf = $wf;
}
public function get_name() { return("ppHybridauth"); }
public function get_description() { return("https://github.com/hybridauth/hybridauth"); }
public function get_banner() { return("hybridauth/2.2.0"); }
public function get_version() { return("2.2.0"); }
public function get_authors() { return("hybridauth"); }
public function get_depends() { return(array("session")); }
public function get_actions() {
return(array(
"/hybridauth" => array(
WF_ROUTE_REDIRECT,
"/hybridauth/index.php",
"",
WF_ROUTE_HIDE,
array("session:ranon")
),
"/hybridauth/index.php" => array(
WF_ROUTE_ACTION,
"hybridauth/index",
"index",
"",
WF_ROUTE_HIDE,
array("session:ranon")
),
"/session/hybridauth" => array(
WF_ROUTE_ACTION,
"session/hybridauth",
"login",
"",
WF_ROUTE_HIDE,
array("session:ranon")
),
));
}
}