Package | org.igniterealtime.xiff.auth |
Class | public class SASLAuth |
Inheritance | SASLAuth ![]() |
Subclasses | Anonymous, DigestMD5, External, Plain, XFacebookPlatform, XOAuth2 |
See also
Property | Defined By | ||
---|---|---|---|
request : XML [read-only]
The XML for the authentication request. | SASLAuth |
Property | Defined By | ||
---|---|---|---|
connection : IXMPPConnection
Connection that is used to authenticate, if any
| SASLAuth | ||
req : XML
The XML of the authentication request. | SASLAuth | ||
response : XML
The XML of the challenge response. | SASLAuth | ||
stage : int
The current response stage. | SASLAuth |
Method | Defined By | ||
---|---|---|---|
SASLAuth() | SASLAuth | ||
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. | SASLAuth |
Constant | Defined By | ||
---|---|---|---|
NS : String = urn:ietf:params:xml:ns:xmpp-sasl [static] | SASLAuth | ||
RESPONSE_SUCCESS : String = success [static] | SASLAuth |
connection | property |
protected var connection:IXMPPConnection
Connection that is used to authenticate, if any
req | property |
protected var req:XML
The XML of the authentication request.
request | property |
request:XML
[read-only] The XML for the authentication request.
public function get request():XML
response | property |
protected var response:XML
The XML of the challenge response.
stage | property |
protected var stage:int
The current response stage.
SASLAuth | () | Constructor |
public function SASLAuth()
handleChallenge | () | method |
public function handleChallenge(stage:int, challenge:XML):XML
Called when a challenge to this authentication is received.
Parameters
stage:int — The current stage in the authentication process.
| |
challenge:XML — The XML of the actual authentication challenge.
|
XML — The XML response to the challenge.
|
handleResponse | () | method |
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.
|
Object — An object specifying the current state of the authentication.
|
NS | Constant |
public static const NS:String = urn:ietf:params:xml:ns:xmpp-sasl
RESPONSE_SUCCESS | Constant |
public static const RESPONSE_SUCCESS:String = success