-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathUser.php
74 lines (62 loc) · 1.19 KB
/
User.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
namespace SocialiteProviders\Saml2;
use Laravel\Socialite\AbstractUser;
use LightSaml\Model\Assertion\Assertion;
class User extends AbstractUser
{
protected $assertion;
/**
* The user's first name.
*
* @var string|null
*/
public $first_name;
/**
* The user's last name.
*
* @var string|null
*/
public $last_name;
/**
* The user's UPN (user principal name).
*
* @var string|null
*/
public $upn;
public function getAssertion(): Assertion
{
return $this->assertion;
}
public function setAssertion(Assertion $assertion): User
{
$this->assertion = $assertion;
return $this;
}
/**
* Get the first name of the user.
*
* @return string|null
*/
public function getFirstName()
{
return $this->first_name;
}
/**
* Get the last name of the user.
*
* @return string|null
*/
public function getLastName()
{
return $this->last_name;
}
/**
* Get the UPN of the user.
*
* @return string|null
*/
public function getUpn()
{
return $this->upn;
}
}