{"repo":"codeigniter4/shield","free":true,"listed":false,"github":"https://github.com/codeigniter4/shield","clone":"git clone https://github.com/codeigniter4/shield.git","description":"Authentication and Authorization for CodeIgniter 4","language":"PHP","stars":423,"topics":["auth","authentication","authorization","codeigniter4"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"CodeIgniter Shield Shield is the official authentication and authorization framework for CodeIgniter 4. While it does provide a base set of tools that are commonly used in websites, it is designed to be flexible and easily customizable. The primary goals for Shield are: 1. It must be very flexible and allow developers to extend/override almost any part of it. 2. It must have security at its core. It is an auth lib after all. 3. To cover many auth needs right out of the box, but be simple to add additional functionality to. Authentication Methods Shield provides two primary methods Session-based and Access Token authentication out of the box. It also provides HMAC SHA256 Token and JSON Web Token authentication. Session-based This is your typical email/username/password system you see everywhere. It includes a secure \"remember-me\" functionality. This can be used for standard web applications, as well as for single page applications. Includes full controllers and basic views for all standard functionality, like registration, login, forgot password, etc. Access Token These are much like the access tokens that GitHub uses, where they are unique to a single user, and a single user can have more than one. This can be used for API authentication of third-party users, and even for allowing access for a mobile application that you build. HMAC SHA256 Token This is a slightly more complicated improvement on Access Token authentication. The main advantage with HMAC is the shared Secret Ke","default_branch":null,"files":null,"tree":[],"storefront":"/r/codeigniter4","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/codeigniter4/shield/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}