| Package | org.igniterealtime.xiff.auth |
| Class | public class Plain |
| Inheritance | Plain SASLAuth Object |
| Implements | ISASLAuth |
See also
| Method | Defined By | ||
|---|---|---|---|
Plain(connection:IXMPPConnection)
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 [override]
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] | SASLAuth | |
![]() | RESPONSE_SUCCESS : String = success [static] | SASLAuth | |
| Plain | () | Constructor |
public function Plain(connection:IXMPPConnection)Creates a new Plain authentication object.
Parametersconnection:IXMPPConnection |
| handleResponse | () | method |
override public function handleResponse(stage:int, response:XML):ObjectCalled 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 = PLAIN