定制 lapix/simple-jwt-laravel 二次开发

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

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

lapix/simple-jwt-laravel

最新稳定版本:v3.0.0

Composer 安装命令:

composer require lapix/simple-jwt-laravel

包简介

Package to handling the JWT Authentication with Laravel and SimplJWT

README 文档

README

Installation

You should implements the following interface and bind it.

  1. First, publish the package asserts: Configuration and Service Provider.
php artisan vendor:publish --tag=simple-jwt
  1. You should implement the following interfaces:
  • Lapix\SimpleJwt\SubjectRepository
  • Lapix\SimpleJwt\ClaimsHandler
  1. Add the service provider to the file /config/app.php.

  2. Generate a new key pair using the command php artisan simple-jwt:keys and add the following environment variables:

  • JWT_PRIVATE_KEYS: Private key.
  • JWT_PUBLIC_KEYS: Public key.
  • JWT_IDS: An arbitrary value, it used to identify the key.
  1. Change the configuration in the file config/simple-jwt.php as you want.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-03-14