Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
af3e1f37
Commit
af3e1f37
authored
Mar 21, 2018
by
Bertrand Gauthier
Browse files
Ajout de propriétés à la classe ShibUser
parent
32e06997
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Entity/Shibboleth/ShibUser.php
View file @
af3e1f37
...
...
@@ -26,6 +26,21 @@ class ShibUser implements UserInterface
*/
protected
$displayName
;
/**
* @var string
*/
protected
$nom
;
/**
* @var string
*/
protected
$prenom
;
/**
* @var string
*/
protected
$civilite
;
/**
* @var int
*/
...
...
@@ -53,7 +68,7 @@ class ShibUser implements UserInterface
/**
* Set id.
*
* @param string $id
* @param string $id
supannEmpId ou supannEtuId
*/
public
function
setId
(
$id
)
{
...
...
@@ -120,6 +135,54 @@ class ShibUser implements UserInterface
$this
->
displayName
=
$displayName
;
}
/**
* @return string
*/
public
function
getNom
()
{
return
$this
->
nom
;
}
/**
* @param string $nom
*/
public
function
setNom
(
$nom
)
{
$this
->
nom
=
$nom
;
}
/**
* @return string
*/
public
function
getPrenom
()
{
return
$this
->
givenName
;
}
/**
* @param string $prenom
*/
public
function
setPrenom
(
$prenom
)
{
$this
->
prenom
=
$prenom
;
}
/**
* @return string
*/
public
function
getCivilite
()
{
return
$this
->
civilite
;
}
/**
* @param string $civilite
*/
public
function
setCivilite
(
$civilite
)
{
$this
->
civilite
=
$civilite
;
}
/**
* Get password.
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment