Spork Code Libraries

Dummy

Authenticate an identity without testing a credential. Use cases are to directly authenticate a member when they register or during unit testing.

Summary

Properties

$identity

Constants

Implements

Properties

$identity

$identity : mixed

Identity to authenticate

Type

mixed

Methods

__construct()

__construct(string  $identity = null) 

Initialize instance

Parameters

string $identity

setIdentity()

setIdentity(mixed  $identity) 

Set identity to authenticate

Parameters

mixed $identity

authenticate()

authenticate() : \Zend\Authentication\Result

Authenticate identity

Returns

\Zend\Authentication\Result
See also