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

This class provides SASL authentication using the ANONYMOUS mechanism.

See also

http://xmpp.org/extensions/xep-0175.html
http://tools.ietf.org/html/rfc4505
http://tools.ietf.org/html/rfc3920#section-6


Public Properties
 PropertyDefined By
 Inheritedrequest : XML
[read-only] The XML for the authentication request.
SASLAuth
Protected Properties
 PropertyDefined By
 Inheritedconnection : IXMPPConnection
Connection that is used to authenticate, if any
SASLAuth
 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
[override] Called when a response to this authentication is received.
Anonymous
Public Constants
 ConstantDefined By
  MECHANISM : String = ANONYMOUS
[static]
Anonymous
 InheritedNS : String = urn:ietf:params:xml:ns:xmpp-sasl
[static]
SASLAuth
 InheritedRESPONSE_SUCCESS : String = success
[static]
SASLAuth
Constructor Detail
Anonymous()Constructor
public function Anonymous(connection:IXMPPConnection)

Creates a new Anonymous authentication object.

Parameters
connection:IXMPPConnection — A reference to the XMPPConnection instance to use.
Method Detail
handleResponse()method
override public 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