@staticmethod<EOL><INDENT>def get_issuer(request):<DEDENT>
if isinstance(request, etree._Element):<EOL><INDENT>elem = request<EOL><DEDENT>else:<EOL><INDENT>if isinstance(request, Document):<EOL><INDENT>request = request.toxml()<EOL><DEDENT>elem = fromstring(request, forbid_dtd=True)<EOL><DEDENT>issuer = None<EOL>issuer_nodes = OneLogin_Saml2_Utils.query(elem, '<STR_LIT>')<EOL>if len(issuer_nodes) == <NUM_LIT:1>:<EOL><INDENT>issuer = OneLogin_Saml2_Utils.element_text(issuer_nodes[<NUM_LIT:0>])<EOL><DEDENT>return issuer<EOL>
Gets the Issuer of the Logout Request Message
:param request: Logout Request Message
:type request: string|DOMDocument
:return: The Issuer
:rtype: string