Skip to content
EvanDotPro edited this page Jul 10, 2012 · 3 revisions

RFC Status: Accepted

RFC Author(s): Evan Coury

Abstract

The purpose of ZfcUser is to provide a flexible foundation for the common practice of user authentication / identification and registration. Ultimately, a user will authenticate via some authentication adapter, and upon successful authentication will be identified by a populated user model for the given session. The focus of ZfcUser is flexibility and more importantly, extensibility. ZfcUser should be able to successfully serve as a starting point for authentication in a very large percentage of ZF2 web applications with widely varying names.

Proposed Features

  • Simple installation. [complete]
  • "Just works" out of the box, provide basic user registration and authentication. [complete]
  • Implement best practices such as bcrypt password hashing, PRG, etc. [complete]
  • Powerful, event-driven Zend\Authentication adapter which allows for attaching multiple adapters which can persist their own state. This allows for nearly unlimited extensibility by authentication adapters and supports work-flows such as two-factor authentication, oauth, and much more. [complete]
  • Nearly every aspect of the module should be customizable and/or able to be overridden. [complete]
  • Should allow for additional modules to provide persistence adapter (doctrine, mongodb, etc). [complete]

Expected Dependencies

Hard Dependencies

Soft Dependencies

None.

Existing / Similar Modules

Example(s)

Votes

ZfcUser has already been accepted into ZF-Commons.

Comments

Comments are closed for this RFC. If you have any issues, see the ZfcUser issue tracker.