ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (\DOMElement $xml=null) | |
Constructor for SAML 2 authentication request messages. More... | |
getNameIdPolicy () | |
Retrieve the NameIdPolicy. More... | |
setNameIdPolicy (array $nameIdPolicy) | |
Set the NameIDPolicy. More... | |
getForceAuthn () | |
Retrieve the value of the ForceAuthn attribute. More... | |
setForceAuthn ($forceAuthn) | |
Set the value of the ForceAuthn attribute. More... | |
getProviderName () | |
Retrieve the value of the ProviderName attribute. More... | |
setProviderName ($ProviderName) | |
Set the value of the ProviderName attribute. More... | |
getIsPassive () | |
Retrieve the value of the IsPassive attribute. More... | |
setIsPassive ($isPassive) | |
Set the value of the IsPassive attribute. More... | |
setIDPList ($IDPList) | |
This function sets the scoping for the request. More... | |
getIDPList () | |
This function retrieves the list of providerIDs from this authentication request. More... | |
setProxyCount ($ProxyCount) | |
getProxyCount () | |
setRequesterID (array $RequesterID) | |
getRequesterID () | |
getAssertionConsumerServiceURL () | |
Retrieve the value of the AssertionConsumerServiceURL attribute. More... | |
setAssertionConsumerServiceURL ($assertionConsumerServiceURL) | |
Set the value of the AssertionConsumerServiceURL attribute. More... | |
getProtocolBinding () | |
Retrieve the value of the ProtocolBinding attribute. More... | |
setProtocolBinding ($protocolBinding) | |
Set the value of the ProtocolBinding attribute. More... | |
getAttributeConsumingServiceIndex () | |
Retrieve the value of the AttributeConsumingServiceIndex attribute. More... | |
setAttributeConsumingServiceIndex ($attributeConsumingServiceIndex) | |
Set the value of the AttributeConsumingServiceIndex attribute. More... | |
getAssertionConsumerServiceIndex () | |
Retrieve the value of the AssertionConsumerServiceIndex attribute. More... | |
setAssertionConsumerServiceIndex ($assertionConsumerServiceIndex) | |
Set the value of the AssertionConsumerServiceIndex attribute. More... | |
getRequestedAuthnContext () | |
Retrieve the RequestedAuthnContext. More... | |
setRequestedAuthnContext ($requestedAuthnContext) | |
Set the RequestedAuthnContext. More... | |
getNameId () | |
Retrieve the NameId of the subject in the assertion. More... | |
setNameId ($nameId) | |
Set the NameId of the subject in the assertion. More... | |
encryptNameId (XMLSecurityKey $key) | |
Encrypt the NameID in the AuthnRequest. More... | |
decryptNameId (XMLSecurityKey $key, array $blacklist=array()) | |
Decrypt the NameId of the subject in the assertion. More... | |
getSubjectConfirmation () | |
Retrieve the SubjectConfirmation elements we have in our Subject element. More... | |
setSubjectConfirmation (array $subjectConfirmation) | |
Set the SubjectConfirmation elements that should be included in the assertion. More... | |
toUnsignedXML () | |
Convert this authentication request to an XML element. More... | |
Public Member Functions inherited from SAML2\Message | |
addValidator ($function, $data) | |
Add a method for validating this message. More... | |
validate (XMLSecurityKey $key) | |
Validate this message against a public key. More... | |
getId () | |
Retrieve the identifier of this message. More... | |
setId ($id) | |
Set the identifier of this message. More... | |
getIssueInstant () | |
Retrieve the issue timestamp of this message. More... | |
setIssueInstant ($issueInstant) | |
Set the issue timestamp of this message. More... | |
getDestination () | |
Retrieve the destination of this message. More... | |
setDestination ($destination) | |
Set the destination of this message. More... | |
setConsent ($consent) | |
Set the given consent for this message. More... | |
getConsent () | |
Set the given consent for this message. More... | |
getIssuer () | |
Retrieve the issuer if this message. More... | |
setIssuer ($issuer) | |
Set the issuer of this message. More... | |
isMessageConstructedWithSignature () | |
Query whether or not the message contained a signature at the root level when the object was constructed. More... | |
getRelayState () | |
Retrieve the RelayState associated with this message. More... | |
setRelayState ($relayState) | |
Set the RelayState associated with this message. More... | |
toUnsignedXML () | |
Convert this message to an unsigned XML document. More... | |
toSignedXML () | |
Convert this message to a signed XML document. More... | |
getSignatureKey () | |
Retrieve the private key we should use to sign the message. More... | |
setSignatureKey (XMLSecurityKey $signatureKey=null) | |
Set the private key we should use to sign the message. More... | |
setCertificates (array $certificates) | |
Set the certificates that should be included in the message. More... | |
getCertificates () | |
Retrieve the certificates that are included in the message. More... | |
getExtensions () | |
Retrieve the Extensions. More... | |
setExtensions ($extensions) | |
Set the Extensions. More... | |
getSignatureMethod () | |
Protected Member Functions | |
parseNameIdPolicy (\DOMElement $xml) | |
parseRequestedAuthnContext (\DOMElement $xml) | |
parseScoping (\DOMElement $xml) | |
Protected Member Functions inherited from SAML2\Message | |
__construct ($tagName, \DOMElement $xml=null) | |
Initialize a message. More... | |
Private Member Functions | |
parseSubject (\DOMElement $xml) | |
addSubject (\DOMElement $root) | |
Add a Subject-node to the assertion. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SAML2\Message | |
static | fromXML (\DOMElement $xml) |
Convert an XML element into a message. More... | |
Protected Attributes inherited from SAML2\Message | |
$extensions | |
$document | |
$messageContainedSignatureUponConstruction = false | |
Definition at line 15 of file AuthnRequest.php.
SAML2\AuthnRequest::__construct | ( | \DOMElement | $xml = null | ) |
Constructor for SAML 2 authentication request messages.
\DOMElement | null | $xml | The input message. |
Definition at line 132 of file AuthnRequest.php.
|
private |
Add a Subject-node to the assertion.
\DOMElement | $root | The assertion element we should add the subject to. |
Definition at line 786 of file AuthnRequest.php.
References $sc.
SAML2\AuthnRequest::decryptNameId | ( | XMLSecurityKey | $key, |
array | $blacklist = array() |
||
) |
Decrypt the NameId of the subject in the assertion.
XMLSecurityKey | $key | The decryption key. |
array | $blacklist | Blacklisted decryption algorithms. |
Definition at line 648 of file AuthnRequest.php.
References $nameId.
SAML2\AuthnRequest::encryptNameId | ( | XMLSecurityKey | $key | ) |
Encrypt the NameID in the AuthnRequest.
XMLSecurityKey | $key | The encryption key. |
Definition at line 616 of file AuthnRequest.php.
References $nameId.
SAML2\AuthnRequest::getAssertionConsumerServiceIndex | ( | ) |
Retrieve the value of the AssertionConsumerServiceIndex attribute.
Definition at line 542 of file AuthnRequest.php.
SAML2\AuthnRequest::getAssertionConsumerServiceURL | ( | ) |
Retrieve the value of the AssertionConsumerServiceURL attribute.
Definition at line 476 of file AuthnRequest.php.
SAML2\AuthnRequest::getAttributeConsumingServiceIndex | ( | ) |
Retrieve the value of the AttributeConsumingServiceIndex attribute.
Definition at line 520 of file AuthnRequest.php.
SAML2\AuthnRequest::getForceAuthn | ( | ) |
Retrieve the value of the ForceAuthn attribute.
Definition at line 341 of file AuthnRequest.php.
References $forceAuthn.
SAML2\AuthnRequest::getIDPList | ( | ) |
This function retrieves the list of providerIDs from this authentication request.
Currently we only support a list of ipd ientity id's.
Definition at line 433 of file AuthnRequest.php.
SAML2\AuthnRequest::getIsPassive | ( | ) |
Retrieve the value of the IsPassive attribute.
Definition at line 389 of file AuthnRequest.php.
References $isPassive.
SAML2\AuthnRequest::getNameId | ( | ) |
Retrieve the NameId of the subject in the assertion.
Definition at line 587 of file AuthnRequest.php.
References $nameId.
SAML2\AuthnRequest::getNameIdPolicy | ( | ) |
Retrieve the NameIdPolicy.
Definition at line 304 of file AuthnRequest.php.
SAML2\AuthnRequest::getProtocolBinding | ( | ) |
Retrieve the value of the ProtocolBinding attribute.
Definition at line 498 of file AuthnRequest.php.
SAML2\AuthnRequest::getProviderName | ( | ) |
Retrieve the value of the ProviderName attribute.
Definition at line 365 of file AuthnRequest.php.
SAML2\AuthnRequest::getProxyCount | ( | ) |
SAML2\AuthnRequest::getRequestedAuthnContext | ( | ) |
Retrieve the RequestedAuthnContext.
Definition at line 564 of file AuthnRequest.php.
SAML2\AuthnRequest::getRequesterID | ( | ) |
SAML2\AuthnRequest::getSubjectConfirmation | ( | ) |
Retrieve the SubjectConfirmation elements we have in our Subject element.
Definition at line 667 of file AuthnRequest.php.
|
protected |
\DOMElement | $xml |
Definition at line 218 of file AuthnRequest.php.
|
protected |
\DOMElement | $xml |
Definition at line 240 of file AuthnRequest.php.
|
protected |
\DOMElement | $xml |
Definition at line 271 of file AuthnRequest.php.
|
private |
$xml |
Definition at line 178 of file AuthnRequest.php.
SAML2\AuthnRequest::setAssertionConsumerServiceIndex | ( | $assertionConsumerServiceIndex | ) |
Set the value of the AssertionConsumerServiceIndex attribute.
int | null | $assertionConsumerServiceIndex | The AssertionConsumerServiceIndex attribute. |
Definition at line 552 of file AuthnRequest.php.
SAML2\AuthnRequest::setAssertionConsumerServiceURL | ( | $assertionConsumerServiceURL | ) |
Set the value of the AssertionConsumerServiceURL attribute.
string | null | $assertionConsumerServiceURL | The AssertionConsumerServiceURL attribute. |
Definition at line 486 of file AuthnRequest.php.
SAML2\AuthnRequest::setAttributeConsumingServiceIndex | ( | $attributeConsumingServiceIndex | ) |
Set the value of the AttributeConsumingServiceIndex attribute.
int | null | $attributeConsumingServiceIndex | The AttributeConsumingServiceIndex attribute. |
Definition at line 530 of file AuthnRequest.php.
SAML2\AuthnRequest::setForceAuthn | ( | $forceAuthn | ) |
Set the value of the ForceAuthn attribute.
bool | $forceAuthn | The ForceAuthn attribute. |
Definition at line 352 of file AuthnRequest.php.
References $forceAuthn.
SAML2\AuthnRequest::setIDPList | ( | $IDPList | ) |
This function sets the scoping for the request.
See Core 3.4.1.2 for the definition of scoping. Currently we support an IDPList of idpEntries.
Each idpEntries consists of an array, containing keys (mapped to attributes) and corresponding values. Allowed attributes: Loc, Name, ProviderID.
For backward compatibility, an idpEntries can also be a string instead of an array, where each string is mapped to the value of attribute ProviderID.
Definition at line 421 of file AuthnRequest.php.
SAML2\AuthnRequest::setIsPassive | ( | $isPassive | ) |
Set the value of the IsPassive attribute.
bool | $isPassive | The IsPassive attribute. |
Definition at line 400 of file AuthnRequest.php.
References $isPassive.
SAML2\AuthnRequest::setNameId | ( | $nameId | ) |
Set the NameId of the subject in the assertion.
\SAML2\XML\saml\NameID | null | $nameId | The name identifier of the assertion. |
Definition at line 601 of file AuthnRequest.php.
References $nameId.
SAML2\AuthnRequest::setNameIdPolicy | ( | array | $nameIdPolicy | ) |
Set the NameIDPolicy.
This function accepts an array with the following options:
array | $nameIdPolicy | The NameIDPolicy. |
Definition at line 320 of file AuthnRequest.php.
SAML2\AuthnRequest::setProtocolBinding | ( | $protocolBinding | ) |
Set the value of the ProtocolBinding attribute.
string | $protocolBinding | The ProtocolBinding attribute. |
Definition at line 508 of file AuthnRequest.php.
SAML2\AuthnRequest::setProviderName | ( | $ProviderName | ) |
Set the value of the ProviderName attribute.
string | $ProviderName | The ProviderName attribute. |
Definition at line 376 of file AuthnRequest.php.
SAML2\AuthnRequest::setProxyCount | ( | $ProxyCount | ) |
SAML2\AuthnRequest::setRequestedAuthnContext | ( | $requestedAuthnContext | ) |
Set the RequestedAuthnContext.
array | null | $requestedAuthnContext | The RequestedAuthnContext. |
Definition at line 574 of file AuthnRequest.php.
SAML2\AuthnRequest::setRequesterID | ( | array | $RequesterID | ) |
SAML2\AuthnRequest::setSubjectConfirmation | ( | array | $subjectConfirmation | ) |
Set the SubjectConfirmation elements that should be included in the assertion.
array | [] |
Definition at line 677 of file AuthnRequest.php.
SAML2\AuthnRequest::toUnsignedXML | ( | ) |
Convert this authentication request to an XML element.
Definition at line 687 of file AuthnRequest.php.
References League\OAuth2\Client\Provider\$provider, and array.
|
private |
Definition at line 97 of file AuthnRequest.php.
|
private |
Definition at line 74 of file AuthnRequest.php.
|
private |
Definition at line 90 of file AuthnRequest.php.
|
private |
Definition at line 119 of file AuthnRequest.php.
|
private |
Definition at line 29 of file AuthnRequest.php.
|
private |
Definition at line 52 of file AuthnRequest.php.
|
private |
Definition at line 45 of file AuthnRequest.php.
|
private |
Definition at line 124 of file AuthnRequest.php.
|
private |
Definition at line 22 of file AuthnRequest.php.
|
private |
Definition at line 82 of file AuthnRequest.php.
|
private |
Definition at line 37 of file AuthnRequest.php.
|
private |
Definition at line 59 of file AuthnRequest.php.
|
private |
Definition at line 109 of file AuthnRequest.php.
|
private |
Definition at line 67 of file AuthnRequest.php.
|
private |
Definition at line 114 of file AuthnRequest.php.