Interface ForceLoginService

Service used to force a user login. The service is available via interface name ct.framework.api.ForceLoginService.

interface ForceLoginService {
    forceLogin(): Promise<void>;
    reset(): void;
}

Methods

  • Provides a promise, which blocks until login happens.

    Returns Promise<void>

  • Resets the service like if forceLogin is never used before. This is provided for test scenarios. It will send a Cancel error to all clients of 'forceLogin'.

    Returns void

Generated using TypeDoc