Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • None
  • PHP

Classes

  • NIdentity
  • NPermission
  • NSimpleAuthenticator

Interfaces

  • IAuthenticator
  • IAuthorizator
  • IIdentity
  • IResource
  • IRole

Exceptions

  • NAuthenticationException
  • Overview
  • Package
  • Class
  • Tree

Interface IAuthenticator

Performs authentication.

Direct known implementers

NSimpleAuthenticator
Package: Nette\Security
Author: David Grudl
Located at Security/IAuthenticator.php
Methods summary
public IIdentity
# authenticate( array $credentials )

Performs an authentication against e.g. database. and returns IIdentity on success or throws NAuthenticationException

Performs an authentication against e.g. database. and returns IIdentity on success or throws NAuthenticationException

Parameters

$credentials
array

Returns

IIdentity

Throws

NAuthenticationException
Constants summary
integer USERNAME 0
#

Credential key

Credential key

integer PASSWORD 1
#

Credential key

Credential key

integer IDENTITY_NOT_FOUND 1
#

Exception error code

Exception error code

integer INVALID_CREDENTIAL 2
#

Exception error code

Exception error code

integer FAILURE 3
#

Exception error code

Exception error code

integer NOT_APPROVED 4
#

Exception error code

Exception error code

Nette Framework 2.0beta1 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0