Package | org.igniterealtime.xiff.auth |
Class | public class Plain |
Inheritance | Plain ![]() |
See also
Method | Defined by | ||
---|---|---|---|
Plain(connection:XMPPConnection)
Creates a new Plain authentication object.
| Plain | ||
![]() |
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.
| Plain |
Constant | Defined by | ||
---|---|---|---|
MECHANISM : String = "PLAIN" [static]
| Plain | ||
NS : String = "urn:ietf:params:xml:ns:xmpp-sasl" [static]
| Plain |
Plain | () | constructor |
public function Plain(connection:XMPPConnection)
Creates a new Plain authentication object.
Parametersconnection:XMPPConnection — A reference to the XMPPConnection instance in use.
|
handleResponse | () | method |
public override function handleResponse(stage:int, response:XML):Object
Called when a response to this authentication is received.
Parametersstage: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 = "PLAIN"
NS | constant |
public static const NS:String = "urn:ietf:params:xml:ns:xmpp-sasl"