定制 xpointo/silverstripe-google-authenticator 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xpointo/silverstripe-google-authenticator

Composer 安装命令:

composer require xpointo/silverstripe-google-authenticator

包简介

Adds Google authentication to SilverStripe

README 文档

README

Introduction

This module enables Google authentication on SilverStripe.

It works by matching the email address obtained from Google login with the email address in the SilverStripe user account list, and logs in the user if there is a match.

Requirements

Installation

via composer

composer require "xpointo/silverstripe-google-authenticator:dev-master"

Configuration

  1. Obtain the Google OAuth Client ID & Client Secret by following the instructions in the Google API Documentation
  2. For the redirect uris setting in the Google OAuth configuration, please include the URL:
  • http://[yoursitename]/GoogleAuthenticatorController/callback
  1. Define the Google OAuth Client ID & Client Secret in your _ss_environment.php or mysite/config.php file.
define('GOOGLE_AUTHENTICATOR_CLIENT_ID', '[google-oauth-client-id]');
define('GOOGLE_AUTHENTICATOR_CLIENT_SECRET', '[google-oauth-client-secret]');

统计信息

  • 总下载量: 434
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 5
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-02-10