Method | Description | |
---|---|---|
generate ( SimpleSAML_Configuration $idp, SimpleSAML_Configuration $sp, string $shire, array | null $attributes ) : string | Build a authentication response. | |
getAttributes ( ) | ||
getIssuer ( ) | ||
getNameID ( ) | ||
getRelayState ( ) | ||
getSessionIndex ( ) : string | null | Retrieve the session index of this response. | |
setMessageValidated ( boolean $messageValidated ) | Set whether this message was validated externally. | |
setRelayState ( $relayState ) | ||
setXML ( $xml ) | ||
validate ( ) |
Method | Description | |
---|---|---|
checkDateConditions ( string | null $start = null, string | null $end = null ) : boolean | Check if we are currently between the given date & time conditions. |
Method | Description | |
---|---|---|
doXPathQuery ( $query, $node = NULL ) | This function runs an xPath query on this authentication response. | |
enc_attribute ( string $name, array $values, boolean $base64, array $scopedAttributes ) : string | Format a shib13 attribute. | |
isNodeValidated ( $node ) | * Checks if the given node is validated by the signature on this response. |
protected static checkDateConditions ( string | null $start = null, string | null $end = null ) : boolean | ||
$start | string | null | A SAML2 timestamp marking the start of the period to check. Defaults to null, in which case there's no limitations in the past. |
$end | string | null | A SAML2 timestamp marking the end of the period to check. Defaults to null, in which case there's no limitations in the future. |
return | boolean | True if the current time belongs to the period specified by $start and $end. False otherwise. |
public generate ( SimpleSAML_Configuration $idp, SimpleSAML_Configuration $sp, string $shire, array | null $attributes ) : string | ||
$idp | SimpleSAML_Configuration | Metadata for the IdP the response is sent from. |
$sp | SimpleSAML_Configuration | Metadata for the SP the response is sent to. |
$shire | string | The endpoint on the SP the response is sent to. |
$attributes | array | null | The attributes which should be included in the response. |
return | string | The response. |
public getSessionIndex ( ) : string | null | ||
return | string | null | The session index of this response. |
public setMessageValidated ( boolean $messageValidated ) | ||
$messageValidated | boolean | TRUE if the message is already validated, FALSE if not. |