Interface AsyncDirectorySessionWaitForRefreshAccessRightsResult

Represents a Wait for refresh Access Rights promise result.

This value is used with DirectorySessionInterface.asyncRefreshAccessRightsInfo.


Sessions

interface AsyncDirectorySessionWaitForRefreshAccessRightsResult {
    error?: InfiniteError;
    reason: AsyncDirectorySessionRefreshAccessRightsReason;
    value?: ConnectionData;
}

Properties

Properties

The error if any.

This is only relevant for AsyncDirectorySessionRefreshAccessRightsReason.Refresh_Error.

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 === AsyncDirectorySessionRefreshAccessRightsReason.Refresh_Success).