Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

XMPPHP: The PHP XMPP Library Copyright (C) 2008  Nathanael C. Fritz This file is part of SleekXMPP.

Author: Nathanael C. Fritz fritzy@netflint.net>
Author: Stephan Wentz stephan@jabber.wentz.it>
Author: Michael Garvin gar@netflint.net>
Copyright: 2008 Nathanael C. Fritz
File Size: 114 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/jabber/XMPP/XMPP.php

Defines 1 class

XMPPHP_XMPPOld:: (5 methods):
  __construct()
  startXML()
  authenticate()
  authFieldsHandler()
  oldAuthResultHandler()


Class: XMPPHP_XMPPOld  - X-Ref

__construct($host, $port, $user, $password, $resource, $server = null, $printlog = false, $loglevel = null)   X-Ref


startXML($parser, $name, $attr)   X-Ref
Override XMLStream's startXML

param: parser $parser
param: string $name
param: array $attr

authenticate()   X-Ref
Send Authenticate Info Request


authFieldsHandler($xml)   X-Ref
Retrieve auth fields and send auth attempt

param: XMLObj $xml

oldAuthResultHandler($xml)   X-Ref
Determine authenticated or failure

param: XMLObj $xml