Class User
User authentication and authorization.
- Nette\Object
- Nette\Security\User
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
#
setExpiration( string|integer|
Enables log out after inactivity. |
public
integer
|
|
public
array
|
|
public
boolean
|
|
public
boolean
|
#
isAllowed( string $resource =
Has a user effective access to the Resource? If $resource is NULL, then the query applies to all resources. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
string |
MANUAL
|
|
|
string |
INACTIVITY
|
|
|
string |
BROWSER_CLOSED
|
|
public
string
|
$guestRole | 'guest' |
#
default role for unauthenticated user |
public
string
|
$authenticatedRole | 'authenticated' |
#
default role for authenticated user without own identity |
public
array
|
$onLoggedIn |
|
#
of function(User $sender); Occurs when the user is successfully logged in |
public
array
|
$onLoggedOut |
|
#
of function(User $sender); Occurs when the user is logged out |
public
|
$authenticator | |
public
|
$authorizator | |
public read-only
boolean
|
$loggedIn | |
public read-only
|
$identity | |
public read-only
mixed
|
$id | |
public read-only
integer
|
$logoutReason | |
public read-only
array
|
$roles |
$reflection
|