Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
com.adobe.livecycle.ria.security.service 

Pin  - AS3 ADEP Security

Pacotecom.adobe.livecycle.ria.security.service
Classepublic class Pin
HerançaPin Inheritance Object
Implementações IPin

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

A Pin object is a type of ticket which can be used to authenticate a user in remote call.

A pin instance is typically used to perform authentication for file uploads. The pin can be obtained by using the ISecurityManager.getTicket method.

Elementos da API relacionados

ISecurityManager.getTicket


Propriedades públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
  enabled : Boolean
A flag that indicates whether a pin is enabled.
Pin
  expiry : Date
The date and time when the pin expires.
Pin
  id : String
An identifier to uniquely identify a pin on the server-side.
Pin
  maxUse : int
The maximum number of times a pin can be used.
Pin
  owner : String
The user who the pin is assigned or issued to.
Pin
  useCounter : int
The number of times the current pin has been used in calls made to Experience Server.
Pin
Métodos públicos
 MétodoDefinido por
  
Pin()
Constructor.
Pin
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
  
Determines whether the current pin has expired.
Pin
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
  
Determines whether a pin usage has exceeded the maximum usage limit.
Pin
  
Determines whether a pin is valid and can be used.
Pin
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
 Inherited
Retorna a representação de string do objeto especificado.
Object
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
Detalhes da propriedade

enabled

propriedade
enabled:Boolean

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

A flag that indicates whether a pin is enabled. A value of True specifies that the pin is enabled.



Implementação
    public function get enabled():Boolean
    public function set enabled(value:Boolean):void

expiry

propriedade 
expiry:Date

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

The date and time when the pin expires.



Implementação
    public function get expiry():Date
    public function set expiry(value:Date):void

id

propriedade 
id:String

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

An identifier to uniquely identify a pin on the server-side.



Implementação
    public function get id():String
    public function set id(value:String):void

maxUse

propriedade 
maxUse:int

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

The maximum number of times a pin can be used.



Implementação
    public function get maxUse():int
    public function set maxUse(value:int):void

owner

propriedade 
owner:String

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

The user who the pin is assigned or issued to.



Implementação
    public function get owner():String
    public function set owner(value:String):void

useCounter

propriedade 
useCounter:int

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

The number of times the current pin has been used in calls made to Experience Server.



Implementação
    public function get useCounter():int
    public function set useCounter(value:int):void
Detalhes do construtor

Pin

()Construtor
public function Pin()

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Constructor.

Detalhes do método

isPinExpired

()método
public function isPinExpired():Boolean

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Determines whether the current pin has expired.

Retorna
Boolean — A boolean value to indicate whether the pin has expired. A value of True indicates that the pin expired.

isUseCounterExceededMaxUsage

()método 
public function isUseCounterExceededMaxUsage():Boolean

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Determines whether a pin usage has exceeded the maximum usage limit.

Retorna
Boolean — A flag to indicate whether the pin usage exceeds the maximum usage. A value of True indicates that the pin usage count exceeds the maximum use limit.

isValid

()método 
public function isValid():Boolean

Versão da linguagem: ActionScript 3.0
Versão de produto: Adobe Digital Enterprise Platform Experience Services - Security 10
Versões de runtime: AIR 2.6, Flash Player 10.2

Determines whether a pin is valid and can be used.

A pin is considered to be valid if it has not expired and its usage count is less than the maximum allowed limit.

Retorna
Boolean — A boolean value that indicates whether the pin is valid. A value of True indicates that the pin is valid.




[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.