Packageorg.igniterealtime.xiff.auth
Classpublic class External
InheritanceExternal Inheritance SASLAuth

This class provides SASL authentication using the EXTERNAL mechanism. This is particularly useful when TLS authentication is required.

See also

http://xmpp.org/extensions/xep-0178.html


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 External authentication object.
External
 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.
External
Public Constants
 ConstantDefined by
  MECHANISM : String = "EXTERNAL"
[static]
External
  NS : String = "urn:ietf:params:xml:ns:xmpp-sasl"
[static]
External
Constructor detail
External()constructor
public function External(connection:XMPPConnection)

Creates a new External authentication object.

Parameters
connection:XMPPConnection — A reference to the XMPPConnection instance in 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 = "EXTERNAL"
NSconstant 
public static const NS:String = "urn:ietf:params:xml:ns:xmpp-sasl"