{"repo":"nette/security","free":true,"listed":false,"github":"https://github.com/nette/security","clone":"git clone https://github.com/nette/security.git","description":"🔑 Provides authentication, authorization and a role-based access control management via ACL (Access Control List)","language":"PHP","stars":378,"topics":["nette","php","privileges","authentication","authorizator","nette-framework","identity","acl"],"license":null,"category":"auth-billing-email","readme_excerpt":"Nette Security: Access Control ============================== Introduction ============ Authentication & Authorization library for Nette. - user login and logout - verifying user privileges - securing against vulnerabilities - how to create custom authenticators and authorizators - Access Control List Documentation can be found on the website. It requires PHP version 8.3 and supports PHP up to 8.5. Support Me -------------------------------------------- Do you like Nette Security? Are you looking forward to the new features? Thank you! Authentication ============== Authentication means user login , ie. the process during which a user's identity is verified. The user usually identifies himself using username and password. Verification is performed by the so-called authenticator. If the login fails, it throws Nette\\Security\\AuthenticationException . Logging him out: And checking if user is logged in: Simple, right? And all security aspects are handled by Nette for you. You can also set the time interval after which the user logs off (otherwise he logs off with session expiration). This is done by the method setExpiration() , which is called before login() . Specify a string with relative time as a parameter: Expiration must be set to value equal or lower than the expiration of sessions. The reason of the last logout can be obtained by method $user- getLogoutReason() , which returns either the constant Nette\\Security\\User::LogoutInactivity if the time expired or User::LogoutManu","default_branch":null,"files":null,"tree":[],"storefront":"/r/nette","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nette/security/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."}