包 | com.adobe.livecycle.ria.security.service |
类 | public class AuthResult |
继承 | AuthResult Object |
实现 | IAuthResult |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
AuthResult
object is returned as part of calls to perform Single Sign On (SSO) and login methods of
ISecurityManager
service. Using the status property the further flow can be decided.
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
authenticated : Boolean [只读]
A flag that indicates whether the user authentication is complete. | AuthResult | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
failureCode : String [只读]
In case of Authentication failure it would indicate the failure code. | AuthResult | ||
status : AuthStatus [只读]
The status of the authentication related call. | AuthResult | ||
user : IUser [只读]
The current user instance when authentication is successful. | AuthResult |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | AuthResult | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object |
属性详细信息
authenticated | 属性 |
failureCode | 属性 |
status | 属性 |
status:AuthStatus
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
The status of the authentication related call.
实现
public function get status():AuthStatus
user | 属性 |
构造函数详细信息
AuthResult | () | 构造函数 |
public function AuthResult(status:AuthStatus, user:IUser = null, failureCode:String)
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Experience Services - Security 10 |
运行时版本: | AIR 2.6, Flash Player 10.2 |
Constructor.
参数status:AuthStatus — Specifies the authentication status.
| |
user:IUser (default = null ) — Specifies whether the user is associated with current result.
| |
failureCode:String (default = NaN ) — failureCode Specifies the code when authentication fails.
|
Tue Jun 12 2018, 11:04 AM Z