套件 | com.adobe.livecycle.ria.security.api |
介面 | public interface IPin |
實作者 | Pin |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
執行階段版本: | AIR 2.6, Flash Player 10.2 |
IPin
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 元素
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
enabled : Boolean
A flag that indicates whether a pin is enabled. | IPin | ||
expiry : Date
The date and time when the pin expires. | IPin | ||
id : String
An identifier to uniquely identify a pin on the server-side. | IPin | ||
maxUse : int
The maximum number of times a pin can be used. | IPin | ||
owner : String
The user who the pin is assigned or issued to. | IPin | ||
useCounter : int
The number of times the current pin has been used in calls made to Experience Server. | IPin |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Determines whether the current pin has expired. | IPin | ||
Determines whether a pin usage has exceeded the maximum usage limit. | IPin | ||
Determines whether a pin is valid and can be used. | IPin |
屬性詳細資訊
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
方法詳細資訊
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