Find SP AssertionConsumerService based on parameter in AuthnRequest.
private static getAssertionConsumerService ( array $supportedBindings, SimpleSAML_Configuration $spMetadata, string | null $AssertionConsumerServiceURL, string | null $ProtocolBinding, integer | null $AssertionConsumerServiceIndex ) : array | ||
$supportedBindings | array | The bindings we allow for the response. |
$spMetadata | SimpleSAML_Configuration | The metadata for the SP. |
$AssertionConsumerServiceURL | string | null | AssertionConsumerServiceURL from request. |
$ProtocolBinding | string | null | ProtocolBinding from request. |
$AssertionConsumerServiceIndex | integer | null | AssertionConsumerServiceIndex from request. |
Résultat | array | Array with the Location and Binding we should use for the response. |