Справочник по ActionScript® 3.0 для платформы Adobe® Flash®
Домашняя страница  |  Скрыть список пакетов и классов |  Пакеты  |  Классы  |  Что нового  |  Указатель  |  Приложения  |  Почему по-английски?
Фильтры: Получение данных с сервера...
Получение данных с сервера...
com.adobe.livecycle.ria.security.api 

AuthenticationEvent  - AS3 ADEP Security

Пакетcom.adobe.livecycle.ria.security.api
Классpublic class AuthenticationEvent
НаследованиеAuthenticationEvent Inheritance Event Inheritance Object

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Security 10
Версии среды выполнения: AIR 2.6, Flash Player 10.2

AuthenticationEvent objects are dispatched by the ISecurityManager class when an authentication related operation is performed.



Общедоступные свойства
 СвойствоОпределено
  authResult : IAuthResult
[только для чтения] The authentication result associated with the event.
AuthenticationEvent
 Inheritedbubbles : Boolean
[только для чтения] Определяет, является ли событие событием восходящей цепочки.
Event
 Inheritedcancelable : Boolean
[только для чтения] Указывает, можно ли предотвратить поведение, связанное с событием.
Event
 Inheritedconstructor : Object
Ссылка на объект класса или функцию конструктора для данного экземпляра объекта.
Object
 InheritedcurrentTarget : Object
[только для чтения] Объект, активно обрабатывающий объект Event с помощью прослушивателя событий.
Event
 InheritedeventPhase : uint
[только для чтения] Текущая фаза в потоке событий.
Event
 Inheritedtarget : Object
[только для чтения] Целевой объект события.
Event
 Inheritedtype : String
[только для чтения] Тип события.
Event
Общедоступные методы
 МетодОпределено
  
AuthenticationEvent(type:String, authResult:IAuthResult = null, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
AuthenticationEvent
 Inherited
Создает дубликат экземпляра подкласса Event.
Event
 Inherited
formatToString(className:String, ... arguments):String
Служебная функция для реализации метода toString() в пользовательских классах ActionScript 3.0 Event.
Event
 Inherited
Показывает, определено ли заданное свойство для объекта.
Object
 Inherited
Проверяет, выполнялся ли для события вызова метода preventDefault().
Event
 Inherited
Показывает, есть ли экземпляр класса Object в цепи прототипов объекта, заданного в качестве параметра.
Object
 Inherited
Отменяет поведение по умолчанию для события, если такое поведение можно отменить.
Event
 Inherited
Показывает наличие заданного свойства и его перечисляемость.
Object
 Inherited
Задает доступность динамического свойства для операций цикла.
Object
 Inherited
Отменяет обработку прослушивателей событий в текущем узле, а также во всех узлах, которые следуют в потоке событий за текущим узлом.
Event
 Inherited
Отменяет обработку прослушивателей событий в узлах, которые следуют в потоке событий за текущим узлом.
Event
 Inherited
Возвращает строковое представление этого объекта, отформатированного в соответствии со стандартами, принятыми для данной локали.
Object
 Inherited
Возвращает строку, содержащую все свойства объекта Event.
Event
 Inherited
Возвращает элементарное значение заданного объекта.
Object
Общедоступные константы
 КонстантаОпределено
  AUTHENTICATION_FAILED : String = "FAILED"
[статические] A special value that indicates the type of event that is dispatched when authentication fails using the username and password.
AuthenticationEvent
  AUTHENTICATION_REQUIRED : String = "CREDENTIAL_CHALLENGE"
[статические] A special value that indicates the type of event that is dispatched when authentication using single sign-on (SSO) fails.
AuthenticationEvent
  AUTHENTICATION_SUCCESS : String = "COMPLETE"
[статические] A special value that indicates that the authentication process was successful.
AuthenticationEvent
  LOGOUT_COMPLETE : String = "LOGGED_OUT"
[статические] A special value that indicates the type of event that is dispatched a user logs off.
AuthenticationEvent
Сведения о свойстве

authResult

свойство
authResult:IAuthResult  [только для чтения]

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Security 10
Версии среды выполнения: AIR 2.6, Flash Player 10.2

The authentication result associated with the event. Depending on the event type, it can provide more details.



Реализация
    public function get authResult():IAuthResult
Сведения о конструкторе

AuthenticationEvent

()Конструктор
public function AuthenticationEvent(type:String, authResult:IAuthResult = null, bubbles:Boolean = false, cancelable:Boolean = false)

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Security 10
Версии среды выполнения: AIR 2.6, Flash Player 10.2

Constructor.

Creates a new AuthenticationEvent object. The appropriate dynamic properties are created depending on the event type specified.

Параметры
type:String — Specifies the event type.
 
authResult:IAuthResult (default = null) — Specifies the IAuthResult data related to the event.
 
bubbles:Boolean (default = false) — Specifies whether the event object participates in the bubbling stage of the event flow.
 
cancelable:Boolean (default = false) — Specifies whether the event object can be canceled.
Сведения о константе

AUTHENTICATION_FAILED

Константа
public static const AUTHENTICATION_FAILED:String = "FAILED"

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Security 10
Версии среды выполнения: AIR 2.6, Flash Player 10.2

A special value that indicates the type of event that is dispatched when authentication fails using the username and password. As a response to this type of event, an application can show an error message to the user. This event would only happen when authentication is done using username and password and NOT in single sign-on scenario.

AUTHENTICATION_REQUIRED

Константа 
public static const AUTHENTICATION_REQUIRED:String = "CREDENTIAL_CHALLENGE"

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Security 10
Версии среды выполнения: AIR 2.6, Flash Player 10.2

A special value that indicates the type of event that is dispatched when authentication using single sign-on (SSO) fails. When SSO fails, the user's username and password is required for authentication. As a response to this event, an application can display the login page to the user.

AUTHENTICATION_SUCCESS

Константа 
public static const AUTHENTICATION_SUCCESS:String = "COMPLETE"

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Security 10
Версии среды выполнения: AIR 2.6, Flash Player 10.2

A special value that indicates that the authentication process was successful. Authentication can be completed using single sign-on (SSO) or a username and password. As a response to this event the application can show the welcome page to the user. An application can validate for permissions and roles to further verify the user is allowed access. As a response to this event, an application would do complete the validation and then display the welcome page.

LOGOUT_COMPLETE

Константа 
public static const LOGOUT_COMPLETE:String = "LOGGED_OUT"

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Experience Services - Security 10
Версии среды выполнения: AIR 2.6, Flash Player 10.2

A special value that indicates the type of event that is dispatched a user logs off. As a response to this event, an application can display the logout page. The logout page can inform the user that he has been logged out. Alternatively, an application can display the login page to the user.





[ X ]Почему по-английски?
Содержимое Справочника ActionScript 3.0 отображается на английском языке

Не все части Справочника ActionScript 3.0 переводятся на все языки. Если какой-то текстовый элемент не переведен, он отображается на английском языке. Например, компонент ga.controls.HelpBox не переведен ни на один из языков. Это значит, что в русской версии справки компонент ga.controls.HelpBox будет отображаться на английском языке.