套件 | 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, 03:47 PM Z