| 包 | 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):voidexpiry | 属性 |
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, 11:04 AM Z