add email address claims in XML
This commit is contained in:
parent
a37b6a91be
commit
f61acb8907
@ -255,6 +255,14 @@ public function generateResponse(
|
||||
$user->name,
|
||||
);
|
||||
|
||||
// emailaddress (Required by Microsoft SAML 2.0 specifications)
|
||||
$this->addAttribute(
|
||||
$dom,
|
||||
$attributeStatement,
|
||||
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress',
|
||||
$user->email,
|
||||
);
|
||||
|
||||
$assertion->appendChild($attributeStatement);
|
||||
$response->appendChild($assertion);
|
||||
$dom->appendChild($response);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user