| Package | com.adobe.livecycle.ria.security.service |
| Classe | public class Pin |
| Héritage | Pin Object |
| Implémente | IPin |
| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | 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.
Eléments de l’API associés
| Propriété | Défini par | ||
|---|---|---|---|
![]() | constructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet. | 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 | ||
| Méthode | Défini par | ||
|---|---|---|---|
Pin()
Constructor. | Pin | ||
![]() |
Indique si la propriété spécifiée d’un objet est définie. | Object | |
Determines whether the current pin has expired. | Pin | ||
![]() |
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | |
Determines whether a pin usage has exceeded the maximum usage limit. | Pin | ||
Determines whether a pin is valid and can be used. | Pin | ||
![]() |
Indique si la propriété spécifiée existe et est énumérable. | Object | |
![]() |
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | |
![]() |
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | |
![]() |
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | |
![]() |
Renvoie la valeur primitive de l’objet spécifié. | Object | |
enabled | propriété |
enabled:Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | 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.
Implémentation
public function get enabled():Boolean public function set enabled(value:Boolean):voidexpiry | propriété |
expiry:Date| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The date and time when the pin expires.
Implémentation
public function get expiry():Date public function set expiry(value:Date):voidid | propriété |
id:String| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
An identifier to uniquely identify a pin on the server-side.
Implémentation
public function get id():String public function set id(value:String):voidmaxUse | propriété |
maxUse:int| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The maximum number of times a pin can be used.
Implémentation
public function get maxUse():int public function set maxUse(value:int):voidowner | propriété |
owner:String| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The user who the pin is assigned or issued to.
Implémentation
public function get owner():String public function set owner(value:String):voiduseCounter | propriété |
useCounter:int| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
The number of times the current pin has been used in calls made to Experience Server.
Implémentation
public function get useCounter():int public function set useCounter(value:int):voidPin | () | Constructeur |
public function Pin()| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
Constructor.
isPinExpired | () | méthode |
public function isPinExpired():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
Determines whether the current pin has expired.
Valeur renvoyéeBoolean — A boolean value to indicate whether the pin has expired. A value of True indicates that the
pin expired.
|
isUseCounterExceededMaxUsage | () | méthode |
public function isUseCounterExceededMaxUsage():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | AIR 2.6, Flash Player 10.2 |
Determines whether a pin usage has exceeded the maximum usage limit.
Valeur renvoyéeBoolean — 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 | () | méthode |
public function isValid():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
| Versions du moteur d’exécution: | 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.
Valeur renvoyéeBoolean — A boolean value that indicates whether the pin is valid. A value of True indicates that the pin is valid.
|
Tue Jun 12 2018, 09:30 AM Z
Masquer les propriétés publiques héritées
Afficher les propriétés publiques héritées