Client: This application. May be an MRM system, journal system, etc.
User: The user who is logged into this application, who will also use ExorLive to create exercise programs.
EL: The ExorLive application where the users may create exercise programs to contacts.
Contact: The customer of the user. The person receiving the exercise program. Is called 'contact' in ExorLive.
Use case #1: The user has an EL account and wants to use it from the client for the first time.
The user is logged into the client and presses the button Exercise Programs. The system detects that there are no connected ExorLive session and the user is redirected to the ExorLive login page and logs in.
After login, the user is redirected back to the client application. The client may choose to show a confirmation first or proceed directly to show EL.
EL opens in another tab in the browser, with the user logged in. The selected contact from the client is automatically selected in EL as well.
The client received EL connection details after login and stored those for later.
Use case #2: The user has done use case #1 earlier, now the user wanst to access EL again.
The user is logged into the client and presses the button Exercise Programs. The client already knows the connection details and can open ExorLive directly.
Use case #3: The user does not have an EL account.
The user must create an account in EL before use case #1 can be used.
Use case #4: The user wants to disconnect from EL.
The user selects 'Disconnect from ExorLive' in the tiny menu at the top of the page.
In effect, the current connection detals stored in the client is deleted.