Bristol SU Support Package
|
Public Member Functions | |
__construct (AuthFactory $auth) | |
getUser () | |
setUser (User $user) | |
logout () | |
Private Attributes | |
$auth | |
Resolve a user from the API authentication
Definition at line 11 of file UserApiAuthentication.php.
BristolSU\Support\User\UserApiAuthentication::__construct | ( | AuthFactory | $auth | ) |
AuthFactory | $auth | Factory to resolve the user from |
Definition at line 23 of file UserApiAuthentication.php.
References BristolSU\Support\User\UserApiAuthentication\$auth.
BristolSU\Support\User\UserApiAuthentication::getUser | ( | ) |
Get the user from the API authentication
Implements BristolSU\Support\User\Contracts\UserAuthentication.
Definition at line 33 of file UserApiAuthentication.php.
BristolSU\Support\User\UserApiAuthentication::logout | ( | ) |
Log out of the current user
Implements BristolSU\Support\User\Contracts\UserAuthentication.
Definition at line 59 of file UserApiAuthentication.php.
BristolSU\Support\User\UserApiAuthentication::setUser | ( | User | $user | ) |
Set a user. This method cannot be used since the user cannot be set for an API authentication
Implements BristolSU\Support\User\Contracts\UserAuthentication.
Definition at line 48 of file UserApiAuthentication.php.
|
private |
Definition at line 18 of file UserApiAuthentication.php.
Referenced by BristolSU\Support\User\UserApiAuthentication\__construct().