Namespaces

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

Classes

  • Identity
  • Permission
  • SimpleAuthenticator

Interfaces

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

Exceptions

  • AuthenticationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

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

Parameters

$credentials
array

Returns

Nette\Security\IIdentity

Throws

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