XCL Web Application Platform
2.5.0
The XoopsCube Legacy Project
📘
Loading...
Searching...
No Matches
XCube_Identity.class.php
1
<?php
12
13
class
XCube_Identity
{
18
public
$mName =
''
;
19
24
public
$_mAuthenticationType =
''
;
25
26
public
function
__construct() {
27
}
28
34
public
function
setAuthenticationType
( $type ) {
35
$this->_mAuthenticationType = $type;
36
}
37
42
public
function
getAuthenticationType
() {
43
return
$this->_mAuthenticationType;
44
}
45
51
public
function
setName
( $name ) {
52
$this->mName = $name;
53
}
54
60
public
function
getName
() {
61
return
$this->mName;
62
}
63
69
public
function
isAuthenticated
() {
70
}
71
}
72
76
class
XCube_Principal
{
80
public
$mIdentity
;
81
86
public
$_mRoles = [];
87
88
public
function
__construct( $identity, $roles = [] ) {
89
$this->mIdentity =& $identity;
90
$this->_mRoles = $roles;
91
}
92
97
public
function
getIdentity
() {
98
return
$this->mIdentity
;
99
}
100
108
public
function
isInRole( $rolename ) {
109
}
110
}
XCube_Identity
Definition
XCube_Identity.class.php:13
XCube_Identity\setName
setName( $name)
Definition
XCube_Identity.class.php:51
XCube_Identity\setAuthenticationType
setAuthenticationType( $type)
Definition
XCube_Identity.class.php:34
XCube_Identity\getName
getName()
Definition
XCube_Identity.class.php:60
XCube_Identity\isAuthenticated
isAuthenticated()
Definition
XCube_Identity.class.php:69
XCube_Identity\getAuthenticationType
getAuthenticationType()
Definition
XCube_Identity.class.php:42
XCube_Principal
Definition
XCube_Identity.class.php:76
XCube_Principal\$mIdentity
$mIdentity
Definition
XCube_Identity.class.php:80
XCube_Principal\getIdentity
getIdentity()
Definition
XCube_Identity.class.php:97
html
core
XCube_Identity.class.php
Generated by
1.13.2