@staticmethod<EOL><INDENT>def get_nameid_format(request, key=None):<DEDENT>
name_id_format = None<EOL>name_id_data = OneLogin_Saml2_Logout_Request.get_nameid_data(request, key)<EOL>if name_id_data and '<STR_LIT>' in name_id_data.keys():<EOL><INDENT>name_id_format = name_id_data['<STR_LIT>']<EOL><DEDENT>return name_id_format<EOL>
Gets the NameID Format of the Logout Request Message
:param request: Logout Request Message
:type request: string|DOMDocument
:param key: The SP key
:type key: string
:return: Name ID Format
:rtype: string