Interface AsyncDirectorySessionWaitForLoadedResult

Represents a Wait for popup authentication promise result.

This value is used with DirectorySessionInterface.asyncWaitForPopupAuthentication.


Sessions

interface AsyncDirectorySessionWaitForLoadedResult {
    error?: InfiniteError;
    reason: AsyncDirectorySessionWaitForLoadedResultReason;
    value?: ConnectionData;
}

Properties

Properties

The error if any.

This is only relevant for AsyncDirectorySessionWaitForLoadedResultReason.OpenResult_LoginFailed.

This value is the same than the attachment of DirectorySessionInterfaceSignal.LoginFailed.

The reason for the end of the promise.

The connection data in case of success (reason === AsyncDirectorySessionWaitForLoadedResultReason.OpenResult_LoginSuccess).