Symfony2中的社交登录

编程入门 行业动态 更新时间:2024-10-27 07:21:28
本文介绍了Symfony2中的社交登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

现在,我正在尝试在我当前正在开发的网站中设置一些社交登录名(facebook和twitter).

Right now, I'm trying to setup some social logins (facebook and twitter) in a website I'm currently developing.

但是现在,我陷入了困境.我只是在关注HWIOAuthBundle的文档: github/hwi/HWIOAuthBundle/blob/master/Resources/doc/3-configuring_the_security_layer.md 但是我陷入了步骤3-A.

But now, I'm stuck in some point. I'm just following HWIOAuthBundle's documentation: github/hwi/HWIOAuthBundle/blob/master/Resources/doc/3-configuring_the_security_layer.md But I'm stuck at step 3-A.

我不"理解这一点.我没有创建服务或使用服务的经验……第一个参数是什么意思?

I "can't" understand that point. I'm not experienced in creating services, nor using them... What does the first paraph mean?

伙计们,您是否知道任何逐步指南来实现我想要做的事情?

So guys, do you know any step by step guide to achieve what I'm trying to do?

我会在附近,刷新这个问题,所以我可以尽快回答您可能问我的任何问题.

I will be around, refreshing this question, so I can answer any question you may ask to me asap.

谢谢.

P.S .:很抱歉,如果我不清楚,或者我没有提供任何必要的信息.我对Symfony的了解不是很多,我只知道基本知识(路由,控制器,实体,存储库),所以请原谅我.

P.S.: Sorry if I'm not clear at all, or if I didn't provide any necessary info. Im not so much experienced in Symfony, I just know the basics (routing, controllers, entities, repositories), so forgive me, please.

推荐答案

一方面,如果您想使用HWIOAuthBundle,请阅读本文有关安装此捆绑包的个人经验.

On the one hand, if you want to use the HWIOAuthBundle, please, read this article about a personal experience installing this bundle.

我逐步遵循了这些说明,它对我有用.

I followed these instructions, step-by-step and it worked for me.

另一方面,您可以使用Daniel提出的FOS捆绑软件.

On the other hand, you can use the FOS' bundles proposed by Daniel.

更多推荐

Symfony2中的社交登录

本文发布于:2023-07-15 01:54:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1108329.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:社交

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!