Paket | com.adobe.livecycle.ria.security.api |
Schnittstelle | public interface IPin |
Umsetzer | Pin |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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.
Verwandte API-Elemente
Eigenschaft | Definiert von | ||
---|---|---|---|
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 |
Methode | Definiert von | ||
---|---|---|---|
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 | Eigenschaft |
enabled:Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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.
Implementierung
public function get enabled():Boolean
public function set enabled(value:Boolean):void
expiry | Eigenschaft |
expiry:Date
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The date and time when the pin expires.
Implementierung
public function get expiry():Date
public function set expiry(value:Date):void
id | Eigenschaft |
id:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
An identifier to uniquely identify a pin on the server-side.
Implementierung
public function get id():String
public function set id(value:String):void
maxUse | Eigenschaft |
maxUse:int
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The maximum number of times a pin can be used.
Implementierung
public function get maxUse():int
public function set maxUse(value:int):void
owner | Eigenschaft |
owner:String
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The user who the pin is assigned or issued to.
Implementierung
public function get owner():String
public function set owner(value:String):void
useCounter | Eigenschaft |
useCounter:int
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
The number of times the current pin has been used in calls made to Experience Server.
Implementierung
public function get useCounter():int
public function set useCounter(value:int):void
isPinExpired | () | Methode |
public function isPinExpired():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Determines whether the current pin has expired.
RückgabewerteBoolean — A boolean value to indicate whether the pin has expired. A value of True indicates that the
pin expired.
|
isUseCounterExceededMaxUsage | () | Methode |
public function isUseCounterExceededMaxUsage():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | AIR 2.6, Flash Player 10.2 |
Determines whether a pin usage has exceeded the maximum usage limit.
RückgabewerteBoolean — 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 | () | Methode |
public function isValid():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
Laufzeitversionen: | 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.
RückgabewerteBoolean — A boolean value that indicates whether the pin is valid. A value of True indicates that the pin is valid.
|
Tue Jun 12 2018, 10:04 AM Z