-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inheritance - No relation between BaseID and NameID
- Loading branch information
Showing
4 changed files
with
130 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace SAML2\XML\saml; | ||
|
||
/** | ||
* SAML IDNameQualifier attribute group. | ||
* | ||
* @package simplesamlphp/saml2 | ||
*/ | ||
trait IDNameQualifiersTrait | ||
{ | ||
/** | ||
* The security or administrative domain that qualifies the identifier. | ||
* This attribute provides a means to federate identifiers from disparate user stores without collision. | ||
* | ||
* @see saml-core-2.0-os | ||
* | ||
* @var string|null | ||
*/ | ||
protected $NameQualifier = null; | ||
|
||
|
||
/** | ||
* Further qualifies an identifier with the name of a service provider or affiliation of providers. | ||
* This attribute provides an additional means to federate identifiers on the basis of the relying party or parties. | ||
* | ||
* @see saml-core-2.0-os | ||
* | ||
* @var string|null | ||
*/ | ||
protected $SPNameQualifier = null; | ||
|
||
|
||
/** | ||
* Collect the value of the NameQualifier-property | ||
* | ||
* @return string|null | ||
*/ | ||
public function getNameQualifier(): ?string | ||
{ | ||
return $this->NameQualifier; | ||
} | ||
|
||
|
||
/** | ||
* Set the value of the NameQualifier-property | ||
* | ||
* @param string|null $nameQualifier | ||
* @return void | ||
*/ | ||
public function setNameQualifier(string $nameQualifier = null) : void | ||
{ | ||
$this->NameQualifier = $nameQualifier; | ||
} | ||
|
||
|
||
/** | ||
* Collect the value of the SPNameQualifier-property | ||
* | ||
* @return string|null | ||
*/ | ||
public function getSPNameQualifier(): ?string | ||
{ | ||
return $this->SPNameQualifier; | ||
} | ||
|
||
|
||
/** | ||
* Set the value of the SPNameQualifier-property | ||
* | ||
* @param string|null $spNameQualifier | ||
* @return void | ||
*/ | ||
public function setSPNameQualifier(string $spNameQualifier = null) : void | ||
{ | ||
$this->SPNameQualifier = $spNameQualifier; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters