Bristol SU Support Package
|
Public Member Functions | |
__construct (AuthFactory $auth) | |
getUser () | |
setUser (User $user) | |
logout () | |
Private Attributes | |
$auth | |
Resolve users using the Laravel authentication
Definition at line 11 of file UserWebAuthentication.php.
BristolSU\Support\User\UserWebAuthentication::__construct | ( | AuthFactory | $auth | ) |
AuthFactory | $auth | Auth factory for resolving and setting users with Laravel |
Definition at line 24 of file UserWebAuthentication.php.
References BristolSU\Support\User\UserWebAuthentication\$auth.
BristolSU\Support\User\UserWebAuthentication::getUser | ( | ) |
Get the currently logged in user
Implements BristolSU\Support\User\Contracts\UserAuthentication.
Definition at line 34 of file UserWebAuthentication.php.
BristolSU\Support\User\UserWebAuthentication::logout | ( | ) |
Log out of the current user
Implements BristolSU\Support\User\Contracts\UserAuthentication.
Definition at line 57 of file UserWebAuthentication.php.
BristolSU\Support\User\UserWebAuthentication::setUser | ( | User | $user | ) |
Set the logged in user
Implements BristolSU\Support\User\Contracts\UserAuthentication.
Definition at line 47 of file UserWebAuthentication.php.
|
private |
Definition at line 19 of file UserWebAuthentication.php.
Referenced by BristolSU\Support\User\UserWebAuthentication\__construct().