Skip to content

Commit

Permalink
refactor: Add missing methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Oct 5, 2020
1 parent 80cdf78 commit ae2b276
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Security/Core/User/EuLoginUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ public function getPgt(): ?string
return $this->user->getPgt();
}

public function getProxyGrantingProtocol(): ?string
{
return $this->user->getAttribute('proxyGrantingProtocol');
}

/**
* {@inheritdoc}
*/
Expand Down Expand Up @@ -317,6 +322,11 @@ public function getTicketType(): ?string
return $this->user->getAttribute('ticketType');
}

public function getTimeZone(): ?string
{
return $this->user->getAttribute('timeZone');
}

/**
* {@inheritdoc}
*/
Expand All @@ -340,6 +350,11 @@ public function getUser(): string
return $this->user->getUsername();
}

public function getUserManager(): ?string
{
return $this->user->getAttribute('userManager');
}

/**
* {@inheritdoc}
*/
Expand Down
6 changes: 6 additions & 0 deletions src/Security/Core/User/EuLoginUserInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public function getLoginDate(): ?string;

public function getOrgId(): ?string;

public function getProxyGrantingProtocol(): ?string;

public function getSso(): ?string;

/**
Expand All @@ -57,5 +59,9 @@ public function getTeleworkingPriority(): ?string;

public function getTicketType(): ?string;

public function getTimeZone(): ?string;

public function getUid(): ?string;

public function getUserManager(): ?string;
}

0 comments on commit ae2b276

Please sign in to comment.