简体   繁体   English

Symfony2获取当前经过身份验证的数据库用户凭据

[英]Symfony2 get current authenticated database user credentials

How I can get authenticated database user credentials? 如何获得经过身份验证的数据库用户凭据?

In my backend I have a section with the credentials of the current user, name, email... how i can get this credentials? 在我的后端中,我有一个包含当前用户凭据,姓名,电子邮件的部分……我如何获得此凭据? it stored in session? 它存储在会话中? how can i get the session user ID? 如何获取会话用户ID?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM