public static function getNameId($request, $key = null)
    {
        $nameId = self::getNameIdData($request, $key);
        return $nameId['Value'];
    }
public static function getNameId($request, $key = null)
    {
        $nameId = self::getNameIdData($request, $key);
        return $nameId['Value'];
    }
public static function getNameId ( $ request , $ key = null ) { $ nameId = self :: getNameIdData ( $ request , $ key ) ; return $ nameId [ 'Value' ] ; }
Gets the NameID of the Logout Request.

@param string|DOMDocument $request Logout Request Message
@param string|null $key The SP key

@return string Name ID Value

@throws OneLogin_Saml2_Error
@throws OneLogin_Saml2_ValidationError
Gets the NameID of the Logout Request .