Namespaces

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

Classes

  • Identity
  • Permission
  • SimpleAuthenticator
  • User

Interfaces

  • IAuthenticator
  • IAuthorizator
  • IIdentity
  • IResource
  • IRole
  • IUserStorage

Exceptions

  • AuthenticationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Interface IAuthenticator

Performs authentication.

Direct known implementers

Nette\Security\SimpleAuthenticator
Namespace: Nette\Security
Author: David Grudl
Located at Security/IAuthenticator.php
Methods summary
public Nette\Security\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

Nette\Security\IIdentity

Throws

Nette\Security\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 2.1 API documentation generated by ApiGen 2.8.0