Package | com.esri.tracking.connector.events |
Class | public class AuthenticateEvent |
Inheritance | AuthenticateEvent ![]() |
Property | Defined By | ||
---|---|---|---|
errorMessage : String [read-only]
The error message from a failed request. | AuthenticateEvent | ||
sessionID : int [read-only]
The sessionID returned. | AuthenticateEvent | ||
succeeded : Boolean [read-only]
Indicates whether the request was successful or not. | AuthenticateEvent |
Method | Defined By | ||
---|---|---|---|
AuthenticateEvent(type:String, succeeded:Boolean, sessionID:int, errorMessage:String = null)
The constructor. | AuthenticateEvent |
Constant | Defined By | ||
---|---|---|---|
AUTHENTICATE_RESPONSE : String = authenticateResponse [static]
Defines the value of the type property of an authenticateResponse
event. | AuthenticateEvent |
errorMessage | property |
errorMessage:String
[read-only] The error message from a failed request.
public function get errorMessage():String
sessionID | property |
sessionID:int
[read-only] The sessionID returned. On a failed request, this is -1.
public function get sessionID():int
succeeded | property |
succeeded:Boolean
[read-only] Indicates whether the request was successful or not.
public function get succeeded():Boolean
AuthenticateEvent | () | Constructor |
public function AuthenticateEvent(type:String, succeeded:Boolean, sessionID:int, errorMessage:String = null)
The constructor.
Parameterstype:String — The type of event.
| |
succeeded:Boolean — Indicates success or failure.
| |
sessionID:int — Session ID returned.
| |
errorMessage:String (default = null ) — Error message from a failed request.
|
AUTHENTICATE_RESPONSE | Constant |
public static const AUTHENTICATE_RESPONSE:String = authenticateResponse
Defines the value of the type
property of an authenticateResponse
event.