承接 aradiv/yii2-authclient-telegram 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

aradiv/yii2-authclient-telegram

Composer 安装命令:

composer require aradiv/yii2-authclient-telegram

包简介

Telegram Auth for yii2-authclient

README 文档

README

Yii2 Latest Stable Version Packagist

Yii2 Authclient Telegram

Since Telegram doent offer a direct real oAuth method this authclient utilizes Telepass.me until there is a native OAuth login with Telegram.

Installation:

composer require --prefer-dist aradiv/yii2-authclient-telegram

##Usage: in your config add:

    'components' => [
        'authClientCollection' => [
            'class' => 'yii\authclient\Collection',
            'clients' => [
                'telegram' => [
                    'class' => 'aradiv\yii2\authclient\telegram\Client,
                    'clientId' => '<yourTelepassClientId'>
                    'clientSecret' => '<yourTelepassClientSecret'>
                ]
            ],
        ],
        // ...
    ],

Why I don't use the Telegram Login Widget

The Telegram Login Widget works fine standalone. Integrating it as an additional login method while maintaining compatibility to other modules that utilize Yii2 Authclient isn't possible without doing all kinds special case handling and in some cases even change the entire user flow.

So to be able to

  1. Login with Telegram and
  2. keep using the modules I'm used to

I decided to relay on telepass.me for telegram login until there is an authclient compatible way for native telegram login.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固