ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.livecycle.ria.security.service 

Session  - AS3 ADEP Security

Packagecom.adobe.livecycle.ria.security.service
Classpublic class Session
InheritanceSession Inheritance Object
Implements ISession

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Security 10
Runtime Versions: AIR 2.6, Flash Player 10.2

The Session class defines the interfaces to access user-related states, such as the security ticket.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  pin : IPin
A IPin instance (if issued) for the current user.
Session
Public Methods
 MethodDefined By
  
Constructor.
Session
  
Returns the ITicket instance of given type available for current user.
Session
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

pin

property
pin:IPin

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Security 10
Runtime Versions: AIR 2.6, Flash Player 10.2

A IPin instance (if issued) for the current user.



Implementation
    public function get pin():IPin
    public function set pin(value:IPin):void
Constructor Detail

Session

()Constructor
public function Session()

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Security 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Constructor.

Method Detail

getTicket

()method
public function getTicket(type:com.adobe.livecycle.ria.security.api:TicketType):com.adobe.livecycle.ria.security.api:ITicket

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Security 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Returns the ITicket instance of given type available for current user.

Parameters

type:com.adobe.livecycle.ria.security.api:TicketType — Specifies the type of ticket to be returned.

Returns
com.adobe.livecycle.ria.security.api:ITicket — An ITicket instance for the given type. The value can be null.