Class SimpleAuthenticator (namespace Nette\Security)


Trivial implementation of IAuthenticator.

Object
   |
   --SimpleAuthenticator

Implements interfaces:

Copyright: Copyright (c) 2004, 2010 David Grudl
Located: in /Security/SimpleAuthenticator.php (line 21)
Public Method Summary
SimpleAuthenticator
__construct ($userlist)
IIdentity
authenticate ($credentials)
Performs an authentication against e.g. database.
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()

Method Details

line 30

__construct

public SimpleAuthenticator __construct ($userlist)

Input
$userlist list of usernames and passwords
Output
SimpleAuthenticator  

line 45

authenticate

public IIdentity authenticate ($credentials)

Performs an authentication against e.g. database.

and returns IIdentity on success or throws AuthenticationException

Implementation of:

Input
$credentials
Output
IIdentity  
Throws
throws AuthenticationException