API Documentation | All Packages | All Classes | Index | Frames No Frames |
Interface ISecurity

Package | org.openscales.core.security
Interface | public interface ISecurity
Implementors | AbstractSecurity

Represent a security mecanism that will use remote services to authenticate and retreive a token. Secured layer will use the security parameter to request their data.

Public Properties

| Property | Defined by
--- | --- | ---
|  | initialized : Boolean [read-only] Return true if the security has been initilized, else false. | ISecurity
|  | securityParameter : String [read-only] Return the string that will be appended to the request in order to make it autenticated | ISecurity

Public Methods

| Method | Defined by
--- | --- | ---
|  | initialize():void Intialize this security, and dispatch a SecurityEvent.SECURITY_INITIALIZED event | ISecurity
|  | logout():void Logout and dispatch a SecurityEvent.SECURITY_LOGOUT event | ISecurity
|  | update():void Update this security, and dispatch a SecurityEvent.SECURITY_UPDATED event | ISecurity

Property detail

initialized | property

`initialized:Boolean` [read-only]

Return true if the security has been initilized, else false.

Implementation
`public function get initialized():Boolean`

securityParameter | property |

`securityParameter:String` [read-only]

Return the string that will be appended to the request in order to make it autenticated

Implementation
`public function get securityParameter():String`
Method detail

initialize | () | method

`public function initialize():void`

Intialize this security, and dispatch a SecurityEvent.SECURITY_INITIALIZED event

logout | () | method |

`public function logout():void`

Logout and dispatch a SecurityEvent.SECURITY_LOGOUT event

update | () | method |

`public function update():void`

Update this security, and dispatch a SecurityEvent.SECURITY_UPDATED event