laravins/remote-auth-client 问题修复 & 功能扩展

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

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

laravins/remote-auth-client

Composer 安装命令:

composer create-project laravins/remote-auth-client

包简介

Remote auth client

README 文档

README

Introduction

This package allows you to update user password and delete user remotely.

Working with LaravinsRemoteAuth


Installation

composer require laravins/remote-auth-client

This will install the package inside your project.

  • Config file located at config//remote-auth.php
  • Controller located at Http/Controllers/RemoteAuthClient/RemoteAuthController.php
  • Middleware located at Htpp\Middlewares/RemoteAuthManager

Publish files

php artisan vendor:publish --tag=remote-auth-client --ansi --force
//.env
REMOTE_AUTH_PASS=secretpass


Config file

This config file will allow you to remotely manage your users off https://my-website.com/ endpoint.

<?php

return [
    // Prefix for generated routes
    'route_prefix' => 'api/remote-auth',

    //Routes to enable/disable
    'routes' => [
        'list' => true,
        'insert' => true,
        'update' => true,
        'delete' => true,
        'down' => true,
        'up' => true,
    ],

    // password used to authenticate requests
    'password' => env('REMOTE_AUTH_PASS', null)
];


Thanks ✌️

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固