【文件属性】:
文件名称:xsolve-google-auth-bundle:集成 Google OAuth 2.0 登录并注册到 FOSUserBundle
文件大小:19KB
文件格式:ZIP
更新时间:2021-06-13 22:07:54
PHP
关于
此捆绑包允许用户通过 Google Auth 2.0 API 登录到 FOSUserBundle。
这包括:
谷歌 API 集成
必要时创建新用户
登录中
安装
安装和配置 FOSUserBundle
添加到 composer.json
"require": { "xsolve-pl/xsolve-google-auth-bundle": "1.0.*" },
安装依赖
作曲家安装
在 app/AppKernel.php 中运行包
public function registerBundles() { return array( // ... new Xsolve\GoogleAuthBundle\XsolveGoogleAuthBundle(), ); }
添加到routing.yml
xsolve_google_auth:资源:“@XsolveGoogleAuthB
【文件预览】:
xsolve-google-auth-bundle-master
----.gitignore(24B)
----Exception()
--------NotAuthorizedException.php(267B)
--------FailureAuthorizedException.php(271B)
----Service()
--------RedirectManager.php(2KB)
----Resources()
--------doc()
--------config()
----Controller()
--------GoogleAuthorizationController.php(1KB)
----composer.json(439B)
----XsolveGoogleAuthBundle.php(140B)
----Builder()
--------UserBuilderInterface.php(240B)
--------ClientBuilderInterface.php(168B)
--------GoogleClientBuilder.php(1KB)
--------FOSUserBuilder.php(1KB)
----README.md(3KB)
----Security()
--------GoogleLoginManager.php(3KB)
--------UserLoginServiceInterface.php(197B)
--------LoginManagerInterface.php(184B)
--------FOSUserLoginService.php(1KB)
--------Authentication()
--------Register()
--------Authorization()
----DependencyInjection()
--------Configuration.php(692B)
--------XsolveGoogleAuthExtension.php(880B)
----ValueObject()
--------ConfigurationValueObject.php(3KB)