Download the PHP package nusait/nu-auth without Composer
On this page you can find all versions of the php package nusait/nu-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package nu-auth
NuAuth Package
This is a package created for Authentication at NUSAIT. (Other people can use it, but it is pretty specific for our own use)
Install
- run
composer require nusait/nu-auth
- add in
app
configuration file's service providers:Nusait\NuAuth\NuAuthServiceProvider::class
- you can run
php artisan vendor:publish
. You should see two files being copied to your config directory:nuauth.php
andldap.php
. Take a look atldap.php
to see what you need to put in your .env file. - change
auth
configuration's driver to "nuauth"
To Use
- just run "Auth::attempt" like normal. :D Happy Time
Advanced
Sometimes you want to have a more flexible way of creating your user. Maybe you want to include the user's emplid when you save it to the database. You can set the "userCreator" config property as a callback as such
All versions of nu-auth with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
illuminate/auth Version ~5.0
illuminate/contracts Version ~5.0
illuminate/support Version ~5.0
nusait/nuldap Version ~2.1
illuminate/auth Version ~5.0
illuminate/contracts Version ~5.0
illuminate/support Version ~5.0
nusait/nuldap Version ~2.1
The package nusait/nu-auth contains the following files
Loading the files please wait ....