Symfony 6 - Security bundle: registration, pass hashing, login, logout, access control

Опубликовано: 19 Ноябрь 2024
на канале: Tanya WebDev
2,143
46

From this video you can get basic information about the User concept, Security bundle and how to implement:

registration,
password hashing,
login,
access control.

💾 The code is available in the repository: https://github.com/Tanya-WebDev/upay

💡 You can support the channel on Patreon:   / tatyana_webdev  

⭐️ Tutorial Contents ⭐️

◆ (00:00) Let's start

◆ (00:49) My ready made example

◆ (02:52) How to install the Security Bundle?

◆ (03:28) Briefly about the security.yaml file

◆ (04:25) The User concept

◇ (04:53) How to create User class using the Maker Bundle?
◇ (07:33) Settings nedded for the User in the security.yaml file

◆ (07:53) Registering the User & Hashing Passwords

◆ (15:04) The Firewall section of the security.yaml file

◆ (16:16) How to install Profiler?

◆ (18:15) Users authentication via Login Form

◆ (22:46) Logging Out

◆ (25:17) Access Control (Authorization)

◇ (25:42) The User roles
◇ (27:55) How to control access using security.yaml file?
◇ (33:48) How to control access from inside a Controller?
◇ (37:45) How to control access anywhere in your code?
◇ (38:13) How to control access in Templates?
◇ (39:42) How to check access under some condition in security.yaml file?

___
You can find me on:
LinkedIn:   / tatyana-webdev  

#coding #php #symfony #symfony6 #symfonySecurityBundle #registration #login #accessControl