28 if ($intendedAudiences === null) {
33 if (!in_array(
$entityId, $intendedAudiences,
true)) {
35 'The configured Service Provider [%s] is not a valid audience for the assertion. Audiences: [%s]',
37 implode(
'], [', $intendedAudiences)
Basic Configuration Wrapper.
getEntityId()
Retrieve the entity id of this SP.
setServiceProvider(ServiceProvider $serviceProvider)
validate(Assertion $assertion, Result $result)
getValidAudiences()
Retrieve the audiences that are allowed to receive this assertion.
Interface for triggering setter injection.