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 filelocated atconfig//remote-auth.phpControllerlocated atHttp/Controllers/RemoteAuthClient/RemoteAuthController.phpMiddlewarelocated atHtpp\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
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-29