Created
May 19, 2015 18:48
-
-
Save dmregister/fc12ece7df1f2af3b5c8 to your computer and use it in GitHub Desktop.
lumen auth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$attr = array( | |
'id' => 112, | |
'username' => 'test', | |
'name' => 'test' | |
); | |
$user = new GenericUser($attr); | |
$auth = Auth::login($user); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment