PopupEventArgs class

Arguments for a popup event if interaction is required during the login flow.

Extends

Constructors

(constructor)(cancel, requestPopup, showPopup)

Constructs a new instance of the PopupEventArgs class

Properties

cancel

A handler should call this immediately when handling the event to signal that it will not permit a popup.

requestPopup

A handler should call this immediately when handling the event to signal that it intends to show a popup.

showPopup

A handler should call this when ready, to indicate that the login flow should now continue and launch the popup.

Constructor Details

(constructor)(cancel, requestPopup, showPopup)

Constructs a new instance of the PopupEventArgs class

constructor(cancel: (error?: Error) => void, requestPopup: () => void, showPopup: () => void);

Parameters

cancel

(error?: Error) => void

requestPopup

() => void

showPopup

() => void

Property Details

cancel

A handler should call this immediately when handling the event to signal that it will not permit a popup.

cancel: (error?: Error) => void;

Property Value

(error?: Error) => void

requestPopup

A handler should call this immediately when handling the event to signal that it intends to show a popup.

requestPopup: () => void;

Property Value

() => void

showPopup

A handler should call this when ready, to indicate that the login flow should now continue and launch the popup.

showPopup: () => void;

Property Value

() => void