Skip to content

koter84/laravel-sol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 5.1 Sol Login

License

This package redirects user to ScoutingNL and returns with user information.

The user will be redirected to the ScoutingNL login page, if they are able to sucsessfully login the folowing details are stored in the session:

  • username
  • email
  • name
  • birthdate
  • gender
  • language
  • timezone

Now with support for Facades, just add 'solLogin' => \Koter84\SolAuth\Http\SolLogin::class, to your kernel and it will test if the user is logged in.

How to use

Grab the package with composer require koter84/sol-auth

Add to your services Koter84\SolAuth\SolAuthServiceProvider::class,

You can even made a Facade 'Sol' => Koter84\SolAuth\SolAuthFacade::class,

Then publish the config files php artisan vendor:publish

Fill in the details at /config/sol.php

Redirect user to /sollogin and they should login and /sollogout to logout

About

Simple Laravel 5.1 Sol Auth

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%