Packageorg.igniterealtime.xiff.auth
Classpublic class Anonymous
InheritanceAnonymous Inheritance SASLAuth

This class provides SASL authentication using the ANONYMOUS mechanism.

See also

http://xmpp.org/extensions/xep-0175.html
http://tools.ietf.org/html/rfc4505


Public Properties
 PropertyDefined by
 Inheritedrequest : XML
The XML for the authentication request.
SASLAuth
Protected Properties
 PropertyDefined by
 Inheritedreq : XML
The XML of the authentication request.
SASLAuth
 Inheritedresponse : XML
The XML of the challenge response.
SASLAuth
 Inheritedstage : int
The current response stage.
SASLAuth
Public Methods
 MethodDefined by
  
Creates a new Anonymous authentication object.
Anonymous
 Inherited
handleChallenge(stage:int, challenge:XML):XML
Called when a challenge to this authentication is received.
SASLAuth
  
handleResponse(stage:int, response:XML):Object
Called when a response to this authentication is received.
Anonymous
Public Constants
 ConstantDefined by
  MECHANISM : String = "ANONYMOUS"
[static]
Anonymous
  NS : String = "urn:ietf:params:xml:ns:xmpp-sasl"
[static]
Anonymous
Constructor detail
Anonymous()constructor
public function Anonymous(connection:XMPPConnection)

Creates a new Anonymous authentication object.

Parameters
connection:XMPPConnection — A reference to the XMPPConnection instance to use.
Method detail
handleResponse()method
public override function handleResponse(stage:int, response:XML):Object

Called when a response to this authentication is received.

Parameters
stage:int — The current stage in the authentication process.
 
response:XML — The XML of the actual authentication response.

Returns
Object — An object specifying the current state of the authentication.
Constant detail
MECHANISMconstant
public static const MECHANISM:String = "ANONYMOUS"
NSconstant 
public static const NS:String = "urn:ietf:params:xml:ns:xmpp-sasl"