laravins/remote-auth

远程认证管理器

安装: 10

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

语言:JavaScript

类型:项目

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'
    ],
];


谢谢 ✌️