Package | org.igniterealtime.xiff.auth |
Class | public class DigestMD5 |
Inheritance | DigestMD5 ![]() ![]() |
Implements | ISASLAuth |
See also
Method | Defined By | ||
---|---|---|---|
DigestMD5(connection:IXMPPConnection)
Creates a new External authentication object. | DigestMD5 | ||
handleChallenge(stage:int, challenge:XML):XML [override]
Called when a challenge to this authentication is received. | DigestMD5 | ||
handleResponse(stage:int, response:XML):Object [override]
Called when a response to this authentication is received. | DigestMD5 |
Constant | Defined By | ||
---|---|---|---|
MECHANISM : String = DIGEST-MD5 [static] | DigestMD5 | ||
![]() | NS : String = urn:ietf:params:xml:ns:xmpp-sasl [static] | SASLAuth | |
![]() | RESPONSE_SUCCESS : String = success [static] | SASLAuth |
DigestMD5 | () | Constructor |
public function DigestMD5(connection:IXMPPConnection)
Creates a new External authentication object.
Parametersconnection:IXMPPConnection — A reference to the XMPPConnection instance in use.
|
handleChallenge | () | method |
override 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 |
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.
|
Object — An object specifying the current state of the authentication.
|
MECHANISM | Constant |
public static const MECHANISM:String = DIGEST-MD5