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

Class SimpleAuthenticator

Trivial implementation of IAuthenticator.

Object
Extended by SimpleAuthenticator implements IAuthenticator
Package: Nette\Security
Author: David Grudl
Located at Security/SimpleAuthenticator.php
Methods summary
public
# __construct( array $userlist )

Parameters

$userlist
array
list of pairs username => password
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

Implementation of

IAuthenticator::authenticate()
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants inherited from IAuthenticator
FAILURE, IDENTITY_NOT_FOUND, INVALID_CREDENTIAL, NOT_APPROVED, PASSWORD, USERNAME
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0