Bristol SU Support Package
src
Authentication
Contracts
Authentication.php
Go to the documentation of this file.
1
<?php
2
3
namespace
BristolSU\Support\Authentication\Contracts
;
4
5
use
BristolSU\ControlDB\Contracts\Models\Group
;
6
use
BristolSU\ControlDB\Contracts\Models\Role
;
7
use \BristolSU\ControlDB\Contracts\Models\User;
8
15
interface
Authentication
16
{
22
public
function
getGroup
();
23
29
public
function
getRole
();
30
36
public
function
getUser
();
37
44
public
function
setGroup
(Group $group);
45
52
public
function
setRole
(Role $role);
53
60
public
function
setUser
(User $user);
61
67
public
function
reset
(): void;
68
}
BristolSU\Support\Authentication\Contracts\Authentication\setGroup
setGroup(Group $group)
BristolSU\Support\Authentication\Contracts\Authentication\reset
reset()
BristolSU\Support\Authentication\Contracts\Authentication
Definition:
Authentication.php:15
BristolSU\Support\Authentication\Contracts\Authentication\getUser
getUser()
BristolSU\Support\Authentication\Contracts\Authentication\setRole
setRole(Role $role)
Group
BristolSU\Support\Authentication\Contracts\Authentication\getRole
getRole()
Role
BristolSU\Support\Authentication\Contracts\Authentication\getGroup
getGroup()
BristolSU\Support\Authentication\Contracts\Authentication\setUser
setUser(User $user)
BristolSU\Support\Authentication\Contracts
Definition:
Authentication.php:3
Generated by
1.8.13