套件 | com.adobe.livecycle.ria.security.service |
類別 | public class Pin |
繼承 | Pin Object |
實作 | IPin |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
執行階段版本: | AIR 2.6, Flash Player 10.2 |
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.
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | 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 |
方法 | 定義自 | ||
---|---|---|---|
Pin()
Constructor. | Pin | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Determines whether the current pin has expired. | Pin | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Determines whether a pin usage has exceeded the maximum usage limit. | Pin | ||
Determines whether a pin is valid and can be used. | Pin | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
enabled | 屬性 |
enabled:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
執行階段版本: | 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.
實作
public function get enabled():Boolean
public function set enabled(value:Boolean):void
expiry | 屬性 |
id | 屬性 |
maxUse | 屬性 |
owner | 屬性 |
useCounter | 屬性 |
useCounter:int
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
執行階段版本: | AIR 2.6, Flash Player 10.2 |
The number of times the current pin has been used in calls made to Experience Server.
實作
public function get useCounter():int
public function set useCounter(value:int):void
Pin | () | 建構函式 |
public function Pin()
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
執行階段版本: | AIR 2.6, Flash Player 10.2 |
Constructor.
isPinExpired | () | 方法 |
public function isPinExpired():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
執行階段版本: | AIR 2.6, Flash Player 10.2 |
Determines whether the current pin has expired.
傳回值Boolean — A boolean value to indicate whether the pin has expired. A value of True indicates that the
pin expired.
|
isUseCounterExceededMaxUsage | () | 方法 |
public function isUseCounterExceededMaxUsage():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
執行階段版本: | AIR 2.6, Flash Player 10.2 |
Determines whether a pin usage has exceeded the maximum usage limit.
傳回值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 | () | 方法 |
public function isValid():Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
執行階段版本: | 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.
傳回值Boolean — A boolean value that indicates whether the pin is valid. A value of True indicates that the pin is valid.
|
Tue Jun 12 2018, 03:47 PM Z