Is there a way to create a custom security provider without using sessions, using my own database class and getting the user from the database with the email and not without haxing the getUsername returning the email ?
Is there a way to create a custom security provider without using sessions, using
Share
You can use SecurityBundle for this, for ex. see example below:
security.yml
you can use doctrine entity as security provide, the yml scheme of user entity for example:
User.orm.yml
and role entity:
Role.orm.yml
and example of routing.yml