def get_audiences(self):
        """
        Gets the audiences

        :returns: The valid audiences for the SAML Response
        :rtype: list
        """
        audience_nodes = self.__query_assertion('/saml:Conditions/saml:AudienceRestriction/saml:Audience')
        return [OneLogin_Saml2_Utils.element_text(node) for node in audience_nodes if OneLogin_Saml2_Utils.element_text(node) is not None]
def get_audiences ( self ) : audience_nodes = self . __query_assertion ( '/saml:Conditions/saml:AudienceRestriction/saml:Audience' ) return [ OneLogin_Saml2_Utils . element_text ( node ) for node in audience_nodes if OneLogin_Saml2_Utils . element_text ( node ) is not None ]
Gets the audiences

        :returns: The valid audiences for the SAML Response
        :rtype: list