Download the PHP package support/remote-auth without Composer
On this page you can find all versions of the php package support/remote-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package remote-auth
Remote Auth
Remote auth is a library for laravel api authentication or remote auth user management in web application. Its a token base authentication system that provide many functionality like blocking user between date and get login date of each valid user without any database interaction. Remote auth validate token in two way normally valid check or two way auth check let see it below.
Getting Started
The library is designed on the focus on easly setup by any one like stratup member or expert.
Prerequisites
You need to composer package manager for instaiig this package and their dependancy.
Installing
Follow below step for instaiing package into laravel package
Then add below line into provider array in file
Then add into aliash array into file.
And then publish package into laravel app.
This command create file in folder. You can enable disable option of package using this file. i suggest to developer also run below command for avoid probleam in feature.
Then run following command for creating moddleware.
And then past below code into file
Important
If you use above middleware then you get authenticate user into request class instance like as below
If double_verify is true in then is return user recoard.
If double_verify is false in . Then it return user identifire(id) and login date
Now finally your api authentication is ready now regitered your middleware into your file as your use. Generally people use route middleware so i registered them into as route middleware.
Use middleware to create authentication route group this type of route consider after login functionallity.
General Funcrion
You need to use remote auth before using into controller.
Config file options
Remote auth config file is like as below. its located in after publishing vendor. and lower version of laravel you can create itself. current version of laravel is 5.5
All versions of remote-auth with dependencies
illuminate/support Version ~5.0
illuminate/http Version ~5.0
namshi/jose Version ^5.0 || ^7.0
nesbot/carbon Version ~1.0