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.api 

TicketType  - AS3 ADEP Security

Packagecom.adobe.livecycle.ria.security.api
Classpublic class TicketType
InheritanceTicketType Inheritance Object

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 TicketType class defines the type of an ITicket object.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  value : String
[read-only] The type of the ticket.
TicketType
Public Methods
 MethodDefined By
  
Constructor.
TicketType
  
Compares the passed ticket content with current ticket.
TicketType
 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
  
Provides the string representation for the ticket.
TicketType
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  ASSERTION : com.adobe.livecycle.ria.security.api:TicketType
[static] A special value that specifies that ticket referes to an assertion.
TicketType
  PIN : com.adobe.livecycle.ria.security.api:TicketType
[static] A special value that specifies that ticket is a pin.
TicketType
  SHORT_TICKET : com.adobe.livecycle.ria.security.api:TicketType
[static] A special value that specifies that ticket is a short ticket.
TicketType
  USERNAME_PWD : com.adobe.livecycle.ria.security.api:TicketType
[static] A special value that specifies that ticket is of type username and password.
TicketType
Property Detail

value

property
value:String  [read-only]

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 type of the ticket.



Implementation
    public function get value():String
Constructor Detail

TicketType

()Constructor
public function TicketType(val:String)

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.

Parameters
val:String — Specifies the type of the ticket.
Method Detail

equals

()method
public function equals(ticket:com.adobe.livecycle.ria.security.api:TicketType):Boolean

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

Compares the passed ticket content with current ticket.

Parameters

ticket:com.adobe.livecycle.ria.security.api:TicketType — Specifies the ticket to compare with.

Returns
Boolean — A Boolean indicating whether the passed ticket is equal to current ticket.

toString

()method 
public function toString():String

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

Provides the string representation for the ticket.

Returns
String — A string representation for the current ticket.
Constant Detail

ASSERTION

Constant
public static const ASSERTION:com.adobe.livecycle.ria.security.api:TicketType

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 special value that specifies that ticket referes to an assertion. This is the scenario when the user has been authenticated against the Document Server.

PIN

Constant 
public static const PIN:com.adobe.livecycle.ria.security.api:TicketType

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 special value that specifies that ticket is a pin. Such a ticket would be issued in case of single sign-on (SSO) environment. It can be used to perform authentication in case of file uploads.

SHORT_TICKET

Constant 
public static const SHORT_TICKET:com.adobe.livecycle.ria.security.api:TicketType

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 special value that specifies that ticket is a short ticket. Such a ticket can be passed as part of GET request. Such a ticket can be used to perform authentication while performing file uploads.

USERNAME_PWD

Constant 
public static const USERNAME_PWD:com.adobe.livecycle.ria.security.api:TicketType

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 special value that specifies that ticket is of type username and password.