Zend\Authentication
16 important questions on Zend\Authentication
What is the purpose of Zend\Authentication?
Provide a loose definition of authentication?
What is the main access point (FQCN) for Zend\Authentication?
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
Which interface is implemented by all authentication adapters?
What class is returned by an authentication adapter when
authenticate() is called?
What exception interface should be thrown when an authentication
adapter throws an exception?
What are the four methods provided by a Zend\Authentication\Result instance?
Result::getCode()
Result::getIdentity()
Result::getMessages()
What are the six available result codes for
Zend\Authentication\Result?
Result::FAILURE
Result::FAILURE_IDENTITY_NOT_FOUND
Result::FAILURE_IDENTITY_AMBIGUOUS
Result::FAILURE_CREDENTIALS_INVALID
Result::FAILURE_UNCATEGORIZED
What is the default persistent storage of Zend\Authentication?
What is done with the identity when a storage with low priority
in an authentication chain storage returns the identity?
What four methods are contracted by Zend\Authentication\Storage\StorageInterface?
StorageInterface::read()
StorageInterface::write($contents)
StorageInterface::clear()
What method is used to check for an identity and what method to forget the identity?
AuthenticationService::clearIdentity()
What validator provides authentication validator
functionality?
What are the four options for the authentication validator?
2. identity
3. credential
4. service
What are the four required parameters for digest
authentication?
2. realm
3. username
4. password
What is returned as identity by the Digest Authentication adapter?
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding
![Trustpilot Logo](/images/design_2020/lp/clp-trustpilot-en.png)