Packages

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

Classes

Interfaces

Exceptions

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Interface IAuthenticator

Performs authentication.

Direct known implementers

SimpleAuthenticator
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 AuthenticationException

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

Returns

IIdentity

Throws

AuthenticationException
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.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0