firecms-ext/auth 问题修复 & 功能扩展

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

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

firecms-ext/auth

Composer 安装命令:

composer require firecms-ext/auth

包简介

hyperf 扩展:用户登录认证

README 文档

README

# 登录授权 依赖安装
composer require firecms-ext/auth

# 发布配置(配置、数据迁移、用户模型)
php bin/hyperf.php vendor:publish firecms-ext/auth

# 密码加密 依赖安装
composer require firecms-ext/hashing

# 发布配置
php bin/hyperf.php vendor:publish firecms-ext/hashing

# JWT 登录扩展 依赖安装
composer require firecms-ext/jwt

# 生成(JWT)签名 Token 令牌 私钥和公钥
php bin/hyperf.php gen:jwt-keypair

# 生成(JWT)签名 Token 令牌 密钥
php bin/hyperf.php gen:jwt-secret

函数列表

# 认证助手
function auth(?string $guard = null): GuardInterface
# 用户登录
function attempt(array $credentials, ?string $guard = null): bool
# 用户登录
function login(AuthenticateInterface $user, ?string $guard = null): bool
# 注销登录
function logout(): void

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固