laravins / remote-auth
远程认证管理器
dev-main
2023-01-29 21:22 UTC
This package is auto-updated.
Last update: 2024-09-29 06:09:14 UTC
README
简介
此包允许您远程更新用户密码和删除用户。
与 LaravinsRemoteAuthClient 包一起使用。
安装
composer require laravins/remote-auth
这将将在您的项目中安装此包。
- 位于
config/remote-auth/remote-auth-manager.php
的配置文件
- 位于
resources/views/remote-auth/dashboard.blade.php
的仪表板
- 位于
Http/Controllers/RemoteAuth/RemoteAuthController.php
的控制器
- 位于
resources/js/remote-auth/
的JS 文件
发布文件
php artisan vendor:publish --tag=remote-auth --ansi --force
将此行添加到项目根目录的 webpack.mix.js 中
mix.js('resources/js/remote-auth/index.js', 'public/js/remote-auth.js')
npm i
npm run dev
配置文件
此配置文件将允许您通过 https://my-website.com/
端点远程管理您的用户。
<?php return [ //Put here your endpoints [ 'name' => 'Locked', 'url' => 'https://my-website.com/', 'password' => 'mysecretpass' ], ];
谢谢 ✌️