Interface ILoginWindow
This is the window in the client application that is used by the LoginController for logging a user into the LemonEdge platform
Inherited Members
Namespace: LemonEdge.Client.Core.Authentication
Assembly: ClientCore.dll
Syntax
public interface ILoginWindow : IWindow
Properties
ForceCacheLoadFromServer
If true indicates the cache should be forced to be reloaded from the server and not a local copy
This is determined by how the user logs in. If they login while holding the shift key the system will set this flag so the cache is forced to reload
Declaration
bool ForceCacheLoadFromServer { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LoginSuccess
Indicates if the login was successful or not
Declaration
bool LoginSuccess { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Display(LoginSettings)
Displays the specified login settings in the login window
Declaration
Task Display(LoginSettings settings)
Parameters
Type | Name | Description |
---|---|---|
LoginSettings | settings | The current settings for logging in |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |
InitController(LoginController)
Used to provide the window with the controller instance
Declaration
void InitController(LoginController controller)
Parameters
Type | Name | Description |
---|---|---|
LoginController | controller | The login controller for this window |
SetUpdaterCheckStatus(String)
Displays the specified message when the login window is busy processing.
The default is Verifying Credentials...
Declaration
void SetUpdaterCheckStatus(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to use to display to the user when the login window is busy processing |