Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NIdentity
  • NPermission
  • NSimpleAuthenticator

Interfaces

  • IAuthenticator
  • IAuthorizator
  • IIdentity
  • IPermissionAssertion
  • IResource
  • IRole

Exceptions

  • NAuthenticationException
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

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
string USERNAME 'username'
#

Credential key

Credential key

string PASSWORD 'password'
#
integer IDENTITY_NOT_FOUND 1
#

Exception error code

Exception error code

integer INVALID_CREDENTIAL 2
#
integer FAILURE 3
#
integer NOT_APPROVED 4
#
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0