包 | 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, 11:04 AM Z