LDAPUser.php 1.2 KB
Newer Older
Dainis Abols's avatar
Dainis Abols committed
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php

namespace Aaxc\LDAPAtuhorization;

/**
 * LDAP User
 * Dummy class for LDAP User create
 *
 * @author  Dainis Abols <dainis.abols@lu.lv>
 * @since   27.07.2020
 *
 * @package App
 */
class LDAPUser
{
    /**
     * LDAP server user id
     *
     * @var integer
     */
    public $uid;

    /**
     * Username
     *
     * @var string
     */
    public $username;

    /**
     * Contact e-mail
     *
     * @var string
     */
    public $email;

    /**
     * Phone number
     *
     * @var string
     */
    public $phone;

    /**
     * Given name or first name
     *
     * @var string
     */
    public $givenname;

    /**
     * Surname or last name
     *
     * @var string
     */
    public $surname;

    /**
     * Full name
     *
     * @var string
     */
    public $cn;

    /**
     * Customized display name or cn if none provided
     *
     * @var string
     */
    public $display_name;

    /**
     * Access group array
     *
     * @var array
     */
    public $groups;

    /**
     * Timestamp for last password change
     *
     * @var integer
     */
    public $password_changed_at;

    /**
     * Privided DN paramneters
     *
     * @var string
     */
    public $dn;

}