API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class SecurityEvent

Package | org.openscales.core.security.events
Class | public class SecurityEvent
Inheritance | SecurityEvent OpenScalesEvent flash.events.Event

event related to the Security

Public Properties

| Property | Defined by
--- | --- | ---
|  | security : ISecurity The type of security requester which dispatching the event | SecurityEvent

Public Methods

| Method | Defined by
--- | --- | ---
|  | SecurityEvent(type:String, security:ISecurity, bubbles:Boolean = false, cancelable:Boolean = false) | SecurityEvent

Public Constants

| Constant | Defined by
--- | --- | ---
|  | SECURITY_INITIALIZED : String = "openscales.security.initialized" [static] The security is initialized. | SecurityEvent
|  | SECURITY_LOGOUT : String = "openscales.security.logout" [static] The security service is no more authenticated | SecurityEvent
|  | SECURITY_UPDATED : String = "openscales.security.updated" [static] The security service is updated. | SecurityEvent

Property detail

security | property

`security:ISecurity` [read-write]

The type of security requester which dispatching the event

Implementation
`public function get security():ISecurity`
`public function set security(value:ISecurity):void`
Constructor detail

SecurityEvent | () | constructor

`public function SecurityEvent(type:String, security:ISecurity, bubbles:Boolean = false, cancelable:Boolean = false)`Parameters

| `type:String`
| `security:ISecurity`
| `bubbles:Boolean` (default = `false`)``
| `cancelable:Boolean` (default = `false`)``

Constant detail

SECURITY_INITIALIZED | constant

`public static const SECURITY_INITIALIZED:String = "openscales.security.initialized"`

The security is initialized. Usually, this event is dispatched in the callback of the authentication URL The security service should be initialized

SECURITY_LOGOUT | constant |

`public static const SECURITY_LOGOUT:String = "openscales.security.logout"`

The security service is no more authenticated

SECURITY_UPDATED | constant |

`public static const SECURITY_UPDATED:String = "openscales.security.updated"`

The security service is updated. Usually, this event is dispatched in the callback of the authentication URL used to update the authentication credentials.