tokenly/accounts-client 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

tokenly/accounts-client

最新稳定版本:v3.0.1

Composer 安装命令:

composer require tokenly/accounts-client

包简介

A Laravel package for applications that wish to use Tokenly Tokenpass for user authentication.

README 文档

README

A Laravel package for applications that wish to use Tokenpass for user authentication.

Installation

Add the Laravel package via composer

composer require tokenly/tokenpass-client

Configuration

Install the views by running this command:

artisan tokenpass:make-auth

Set the following environment variables. You will need a client id and client secret generated by Tokenpass.

TOKENPASS_CLIENT_ID="123456789"
TOKENPASS_CLIENT_SECRET=Kyours3c4etKeYH3re23mste0xmPdSja36aXLd02
TOKENPASS_PROVIDER_HOST=https://tokenpass.tokenly.com

Additional Installation Steps

  • follow the tokenly/laravel-api-provider installation steps
  • The application container must resolve the interface TokenpassUserRespositoryContract. It defaults to App\Repositories\UserRepository.
  • Add the Tokenly\TokenpassClient\Concerns\FindsByTokenpassUuid trait to the UserRepository to implement the lookup by tokenly uuid.
  • run artisan migrate (or artisan migrate --step) to add the necessary fields to the users table
  • make sure config/auth.php points to the currect User model class
  • your User class should implement APIPermissionedUserContract

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固