ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.livecycle.ria.security.api 

AuthFailureCode  - AS3 ADEP Security

Packagecom.adobe.livecycle.ria.security.api
Classpublic class AuthFailureCode
InheritanceAuthFailureCode Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Security 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Defines constants that define possible causes related to an authentication failure.

Client-side code can use these codes to compare against the value returned by IAuthResult.failureCode and then display the appropriate message to the user.

Related API Elements



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  TOKEN_EXPIRED : String = "TOKEN_EXPIRED"
[static] A special value that indicates that the login token associated with current user session has expired.
AuthFailureCode
  UNKNOWN : String = "UNKNOWN"
[static] A special value that indicates that actual cause of failure is unknown.
AuthFailureCode
  WRONG_CREDENTIALS : String = "WRONG_CREDENTIALS"
[static] A special value that indicates that credentials provided by the user are incorrect.
AuthFailureCode
Constant Detail

TOKEN_EXPIRED

Constant
public static const TOKEN_EXPIRED:String = "TOKEN_EXPIRED"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Security 10
Runtime Versions: AIR 2.6, Flash Player 10.2

A special value that indicates that the login token associated with current user session has expired.

This would be the case when a user session has exceeded the session timeout. The Experience Server maintains an expiry time with user session. And if no communication happens between the client and server then the user session would get expired after certain period. This timeout duration is configurable on the server-side.

UNKNOWN

Constant 
public static const UNKNOWN:String = "UNKNOWN"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Security 10
Runtime Versions: AIR 2.6, Flash Player 10.2

A special value that indicates that actual cause of failure is unknown.

WRONG_CREDENTIALS

Constant 
public static const WRONG_CREDENTIALS:String = "WRONG_CREDENTIALS"

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Security 10
Runtime Versions: AIR 2.6, Flash Player 10.2

A special value that indicates that credentials provided by the user are incorrect.

This would be the case when user has performed authentication via username and password through ISecurityManager.login call and the credentials were found to be invalid.