Hello,

I am trying to use Authenticate component, I am confused about return
Result, what should it return? should it be something like this?
return new \Zend\Authentication\Result($user_status, $pass_status)
and the value of $user_status and $pass_status should be false or true based
on the query if $user and $pass are correct or not?

Then how can I have access to below?
Result::FAILURE
Result::FAILURE_IDENTITY_NOT_FOUND
Result::FAILURE_IDENTITY_AMBIGUOUS
Result::FAILURE_CREDENTIAL_INVALID
Result::FAILURE_UNCATEGORIZED

Considering I am correct about what I said about Result returninh above,
only SUCCESS works for me and if any of user or pass is false, I don't get
any of FAILURE types above. Please advice.





--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Authentication-component-tp4661905.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to