laravins / remote-auth-client
Remote auth client
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
This package is auto-updated.
Last update: 2025-04-29 01:43:52 UTC
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 atconfig//remote-auth.php
Controller
located atHttp/Controllers/RemoteAuthClient/RemoteAuthController.php
Middleware
located 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 ✌️