Method | Description | |
---|---|---|
__construct ( DOMElement $xml = null ) | Constructor for SAML 2 authentication request messages. | |
decryptNameId ( |
Decrypt the NameId of the subject in the assertion. | |
encryptNameId ( |
Encrypt the NameID in the AuthnRequest. | |
getAssertionConsumerServiceIndex ( ) : integer | null | Retrieve the value of the AssertionConsumerServiceIndex attribute. | |
getAssertionConsumerServiceURL ( ) : string | null | Retrieve the value of the AssertionConsumerServiceURL attribute. | |
getAttributeConsumingServiceIndex ( ) : integer | null | Retrieve the value of the AttributeConsumingServiceIndex attribute. | |
getForceAuthn ( ) : boolean | Retrieve the value of the ForceAuthn attribute. | |
getIDPList ( ) : array | This function retrieves the list of providerIDs from this authentication request. | |
getIsPassive ( ) : boolean | Retrieve the value of the IsPassive attribute. | |
getNameId ( ) : array | null | Retrieve the NameId of the subject in the assertion. | |
getNameIdPolicy ( ) : array | Retrieve the NameIdPolicy. | |
getProtocolBinding ( ) : string | null | Retrieve the value of the ProtocolBinding attribute. | |
getProviderName ( ) : string | Retrieve the value of the ProviderName attribute. | |
getProxyCount ( ) : integer | ||
getRequestedAuthnContext ( ) : array | null | Retrieve the RequestedAuthnContext. | |
getRequesterID ( ) : array | ||
getSubjectConfirmation ( ) : SAML2\XML\saml\SubjectConfirmation[] | Retrieve the SubjectConfirmation elements we have in our Subject element. | |
setAssertionConsumerServiceIndex ( integer | null $assertionConsumerServiceIndex ) | Set the value of the AssertionConsumerServiceIndex attribute. | |
setAssertionConsumerServiceURL ( string | null $assertionConsumerServiceURL ) | Set the value of the AssertionConsumerServiceURL attribute. | |
setAttributeConsumingServiceIndex ( integer | null $attributeConsumingServiceIndex ) | Set the value of the AttributeConsumingServiceIndex attribute. | |
setForceAuthn ( boolean $forceAuthn ) | Set the value of the ForceAuthn attribute. | |
setIDPList ( $IDPList ) | This function sets the scoping for the request. | |
setIsPassive ( boolean $isPassive ) | Set the value of the IsPassive attribute. | |
setNameId ( array | null $nameId ) | Set the NameId of the subject in the assertion. | |
setNameIdPolicy ( array $nameIdPolicy ) | Set the NameIDPolicy. | |
setProtocolBinding ( string $protocolBinding ) | Set the value of the ProtocolBinding attribute. | |
setProviderName ( string $ProviderName ) | Set the value of the ProviderName attribute. | |
setProxyCount ( integer $ProxyCount ) | ||
setRequestedAuthnContext ( array | null $requestedAuthnContext ) | Set the RequestedAuthnContext. | |
setRequesterID ( array $RequesterID ) | ||
setSubjectConfirmation ( array $subjectConfirmation ) | Set the SubjectConfirmation elements that should be included in the assertion. | |
toUnsignedXML ( ) : DOMElement | Convert this authentication request to an XML element. |
Method | Description | |
---|---|---|
parseNameIdPolicy ( DOMElement $xml ) | ||
parseRequestedAuthnContext ( DOMElement $xml ) | ||
parseScoping ( DOMElement $xml ) |
Method | Description | |
---|---|---|
addSubject ( DOMElement $root ) | Add a Subject-node to the assertion. | |
parseSubject ( DOMElement $xml ) |
public __construct ( DOMElement $xml = null ) | ||
$xml | DOMElement | The input message. |
public decryptNameId ( |
||
$key | The decryption key. | |
$blacklist | array | Blacklisted decryption algorithms. |
public encryptNameId ( |
||
$key | The encryption key. |
public getAssertionConsumerServiceIndex ( ) : integer | null | ||
return | integer | null | The AssertionConsumerServiceIndex attribute. |
public getAssertionConsumerServiceURL ( ) : string | null | ||
return | string | null | The AssertionConsumerServiceURL attribute. |
public getAttributeConsumingServiceIndex ( ) : integer | null | ||
return | integer | null | The AttributeConsumingServiceIndex attribute. |
public getForceAuthn ( ) : boolean | ||
return | boolean | The ForceAuthn attribute. |
public getIDPList ( ) : array | ||
return | array | List of idp EntityIDs from the request |
public getIsPassive ( ) : boolean | ||
return | boolean | The IsPassive attribute. |
public getNameIdPolicy ( ) : array | ||
return | array | The NameIdPolicy. |
public getProtocolBinding ( ) : string | null | ||
return | string | null | The ProtocolBinding attribute. |
public getProviderName ( ) : string | ||
return | string | The ProviderName attribute. |
public getRequestedAuthnContext ( ) : array | null | ||
return | array | null | The RequestedAuthnContext. |
public getSubjectConfirmation ( ) : SAML2\XML\saml\SubjectConfirmation[] | ||
return | SAML2\XML\saml\SubjectConfirmation[] |
protected parseNameIdPolicy ( DOMElement $xml ) | ||
$xml | DOMElement |
protected parseRequestedAuthnContext ( DOMElement $xml ) | ||
$xml | DOMElement |
public setAssertionConsumerServiceIndex ( integer | null $assertionConsumerServiceIndex ) | ||
$assertionConsumerServiceIndex | integer | null | The AssertionConsumerServiceIndex attribute. |
public setAssertionConsumerServiceURL ( string | null $assertionConsumerServiceURL ) | ||
$assertionConsumerServiceURL | string | null | The AssertionConsumerServiceURL attribute. |
public setAttributeConsumingServiceIndex ( integer | null $attributeConsumingServiceIndex ) | ||
$attributeConsumingServiceIndex | integer | null | The AttributeConsumingServiceIndex attribute. |
public setForceAuthn ( boolean $forceAuthn ) | ||
$forceAuthn | boolean | The ForceAuthn attribute. |
public setIDPList ( $IDPList ) |
public setIsPassive ( boolean $isPassive ) | ||
$isPassive | boolean | The IsPassive attribute. |
public setNameIdPolicy ( array $nameIdPolicy ) | ||
$nameIdPolicy | array | The NameIDPolicy. |
public setProtocolBinding ( string $protocolBinding ) | ||
$protocolBinding | string | The ProtocolBinding attribute. |
public setProviderName ( string $ProviderName ) | ||
$ProviderName | string | The ProviderName attribute. |
public setRequestedAuthnContext ( array | null $requestedAuthnContext ) | ||
$requestedAuthnContext | array | null | The RequestedAuthnContext. |
public setSubjectConfirmation ( array $subjectConfirmation ) | ||
$subjectConfirmation | array |
public toUnsignedXML ( ) : DOMElement | ||
return | DOMElement | This authentication request. |