CodeIgniter Forums
Announcing Shield: an Official Authentication library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: News & Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=2)
+--- Thread: Announcing Shield: an Official Authentication library (/showthread.php?tid=82003)

Pages: 1 2 3 4 5


Announcing Shield: an Official Authentication library - kilishan - 06-02-2022

One of the most requested features in CodeIgniter for years has been an authentication/authorization solution as part of CodeIgniter. I'm proud to announce that today is that day. CodeIgniter now has an official auth library: Shield.

Among the many features that Shield ships with are:

  1. Session-based authentication (traditional email/password with remember me)
  2. Stateless authentication using Personal Access Tokens
  3. Optional Email verification on account registration
  4. Optional Email-based Two Factor Authentication after login
  5. Magic Login Links when a user forgets their password
  6. Flexible groups-based access control (think roles, but more flexible)
  7. Users can be granted additional permissions
  8. User Entity and UserModel ready for you to use or extend
  9. A simple helper that provides access to the most common auth actions
  10. Easily extendable controllers
  11. All required views that can be used as is or swapped out for your own
  12. Highly configurable
  13. Built to extend and modify
  14. Save initial settings in your code so it can be in version control, but can also be updated in the database, thanks to our Settings library

While this is an initial release, it already provides a fairly thorough set of features, that should handle the needs of 80% of the projects your work on. We hope you find it helpful, and I'm looking forward to see it continue to help you build secure applications in the future.


RE: Announcing Shield: an Official Authentication library - InsiteFX - 06-02-2022

Thank you very much @kilishan


RE: Announcing Shield: an Official Authentication library - datamweb - 06-03-2022

I never think this spell will be broken.
I thank all of you.


RE: Announcing Shield: an Official Authentication library - marcogmonteiro - 06-03-2022

This is great news, congrats.


RE: Announcing Shield: an Official Authentication library - FlavioSuar - 06-03-2022

What a great news!!! Thank you!!


RE: Announcing Shield: an Official Authentication library - SubrataJ - 06-03-2022

wow, Congrats, will try it today once I am back from the office.


RE: Announcing Shield: an Official Authentication library - manager - 06-03-2022

It's amazing! Thank you!!!


RE: Announcing Shield: an Official Authentication library - php_rocs - 06-03-2022

Awesome! This is great news. Thanks @kilishan


RE: Announcing Shield: an Official Authentication library - PwrSrg - 06-03-2022

Wow, this is a very surprising move.  How does this compare to Myth:Auth which has matured significantly over the years?


RE: Announcing Shield: an Official Authentication library - kilishan - 06-03-2022

(06-03-2022, 06:34 AM)PwrSrg Wrote: Wow, this is a very surprising move.  How does this compare to Myth:Auth which has matured significantly over the years?

This was an evolution of Myth:Auth, using many similar concepts, but designed to be as flexible as possible, be usable in more situations, and follow even more recent best practices in authentication design.