You are here

public function SAML2_Assertion::setValidAudiences in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

Set the audiences that are allowed to receive this assertion.

This may be NULL, in which case all audiences are allowed.

Parameters

array|NULL $validAudiences The allowed audiences.:

File

includes/Assertion.php, line 701

Class

SAML2_Assertion

Code

public function setValidAudiences(array $validAudiences = NULL) {
  $this->validAudiences = $validAudiences;
}