Element index for namespace Nette-Security
[ a ] [ d ] [ f ] [ g ] [ h ] [ i ] [ n ] [ p ] [ r ] [ s ] [ u ] [ _ ]_
- __construct
- in file SimpleAuthenticator.php, method SimpleAuthenticator::__construct()
- __construct
- in file Identity.php, method Identity::__construct()
- __get
- in file Identity.php, method Identity::__get()
Returns user data value. - __isset
- in file Identity.php, method Identity::__isset()
Is property defined? - __set
- in file Identity.php, method Identity::__set()
Sets user data value. - __unset
- in file Identity.php, method Identity::__unset()
Removes property.
a
- addResource
- in file Permission.php, method Permission::addResource()
Adds a Resource having an identifier unique to the list. - addRole
- in file Permission.php, method Permission::addRole()
Adds a Role to the list. - ALL
- in file IAuthorizator.php, class constant IAuthorizator::ALL
Set type: all - allow
- in file Permission.php, method Permission::allow()
Adds an "allow" rule to the list. A rule is added that would allow one or more Roles access to [certain $privileges upon] the specified Resource(s). - ALLOW
- in file IAuthorizator.php, class constant IAuthorizator::ALLOW
Permission type: allow - assert
- in file IPermissionAssertion.php, method IPermissionAssertion::assert()
Returns true if and only if the assertion conditions are met. - authenticate
- in file SimpleAuthenticator.php, method SimpleAuthenticator::authenticate()
Performs an authentication against e.g. database. - authenticate
- in file IAuthenticator.php, method IAuthenticator::authenticate()
Performs an authentication against e.g. database. - AuthenticationException
- in file AuthenticationException.php, class AuthenticationException
Authentication exception. - AuthenticationException.php
- procedural page AuthenticationException.php
d
- deny
- in file Permission.php, method Permission::deny()
Adds a "deny" rule to the list. A rule is added that would deny one or more Roles access to [certain $privileges upon] the specified Resource(s). - DENY
- in file IAuthorizator.php, class constant IAuthorizator::DENY
Permission type: deny
f
- FAILURE
- in file IAuthenticator.php, class constant IAuthenticator::FAILURE
Exception error code
g
- getData
- in file Identity.php, method Identity::getData()
Returns a user data. - getName
- in file Identity.php, method Identity::getName()
Returns the name of user. - getQueriedResource
- in file Permission.php, method Permission::getQueriedResource()
Returns real currently queried Resource. Use by IPermissionAssertion::asert(). - getQueriedRole
- in file Permission.php, method Permission::getQueriedRole()
Returns real currently queried Role. Use by IPermissionAssertion::asert(). - getResourceId
- in file IResource.php, method IResource::getResourceId()
Returns a string identifier of the Resource. - getRoleId
- in file IRole.php, method IRole::getRoleId()
Returns a string identifier of the Role. - getRoleParents
- in file Permission.php, method Permission::getRoleParents()
Returns an array of an existing Role's parents. - getRoles
- in file IIdentity.php, method IIdentity::getRoles()
Returns a list of roles that the user is a member of. - getRoles
- in file Identity.php, method Identity::getRoles()
Returns a list of roles that the user is a member of.
h
- hasResource
- in file Permission.php, method Permission::hasResource()
Returns TRUE if the Resource exists in the list. - hasRole
- in file Permission.php, method Permission::hasRole()
Returns TRUE if the Role exists in the list.
i
- IAuthenticator
- in file IAuthenticator.php, class IAuthenticator
Performs authentication. - IAuthorizator
- in file IAuthorizator.php, class IAuthorizator
Authorizator checks if a given role has authorization to access a given resource. - Identity
- in file Identity.php, class Identity
Default implementation of IIdentity. - IDENTITY_NOT_FOUND
- in file IAuthenticator.php, class constant IAuthenticator::IDENTITY_NOT_FOUND
Exception error code - IIdentity
- in file IIdentity.php, class IIdentity
Represents the user of application. - INVALID_CREDENTIAL
- in file IAuthenticator.php, class constant IAuthenticator::INVALID_CREDENTIAL
Exception error code - IPermissionAssertion
- in file IPermissionAssertion.php, class IPermissionAssertion
Represents conditional ACL Rules with Assertions. - IResource
- in file IResource.php, class IResource
Represents resource, an object to which access is controlled. - IRole
- in file IRole.php, class IRole
Represents role, an object that may request access to an IResource. - isAllowed
- in file IAuthorizator.php, method IAuthorizator::isAllowed()
Performs a role-based authorization. - isAllowed
- in file Permission.php, method Permission::isAllowed()
Returns TRUE if and only if the Role has access to the Resource. - IAuthenticator.php
- procedural page IAuthenticator.php
- IAuthorizator.php
- procedural page IAuthorizator.php
- Identity.php
- procedural page Identity.php
- IIdentity.php
- procedural page IIdentity.php
- IPermissionAssertion.php
- procedural page IPermissionAssertion.php
- IResource.php
- procedural page IResource.php
- IRole.php
- procedural page IRole.php
n
- NOT_APPROVED
- in file IAuthenticator.php, class constant IAuthenticator::NOT_APPROVED
Exception error code
p
- PASSWORD
- in file IAuthenticator.php, class constant IAuthenticator::PASSWORD
Credential key - Permission
- in file Permission.php, class Permission
Access control list (ACL) functionality and privileges management. - Permission.php
- procedural page Permission.php
r
- removeAllow
- in file Permission.php, method Permission::removeAllow()
Removes "allow" permissions from the list. The rule is removed only in the context of the given Roles, Resources, and privileges. Existing rules to which the remove operation does not apply would remain in the - removeAllResources
- in file Permission.php, method Permission::removeAllResources()
Removes all Resources. - removeAllRoles
- in file Permission.php, method Permission::removeAllRoles()
Removes all Roles from the list. - removeDeny
- in file Permission.php, method Permission::removeDeny()
Removes "deny" restrictions from the list. The rule is removed only in the context of the given Roles, Resources, and privileges. Existing rules to which the remove operation does not apply would remain in the - removeResource
- in file Permission.php, method Permission::removeResource()
Removes a Resource and all of its children. - removeRole
- in file Permission.php, method Permission::removeRole()
Removes the Role from the list. - resourceInheritsFrom
- in file Permission.php, method Permission::resourceInheritsFrom()
Returns TRUE if $resource inherits from $inherit. - roleInheritsFrom
- in file Permission.php, method Permission::roleInheritsFrom()
Returns TRUE if $role inherits from $inherit.
s
- SimpleAuthenticator.php
- procedural page SimpleAuthenticator.php
- setName
- in file Identity.php, method Identity::setName()
Sets the name of user. - setRoles
- in file Identity.php, method Identity::setRoles()
Sets a list of roles that the user is a member of. - setRule
- in file Permission.php, method Permission::setRule()
Performs operations on Access Control List rules. - SimpleAuthenticator
- in file SimpleAuthenticator.php, class SimpleAuthenticator
Trivial implementation of IAuthenticator.
u
- USERNAME
- in file IAuthenticator.php, class constant IAuthenticator::USERNAME
Credential key