Class SimpleAuthenticator (namespace Nette\Security)


Trivial implementation of IAuthenticator.

Object
   |
   --SimpleAuthenticator

Implements interfaces:

Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Security/SimpleAuthenticator.php (line 40)
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 49

__construct

public SimpleAuthenticator __construct ($userlist)

Input
$userlist list of usernames and passwords
Output
SimpleAuthenticator  

line 64

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