For each step in the following, the User Consent feature has a corresponding state. You can determine the state by invoking the UserConsent.GetState method.
Before beginning a User Consent flow, the user consent state is ConsentProcessState.NotStarted.
1. Display the consent code request – call UserConsent.DisplayConsentCode HLAPI method to start the flow by requesting a consent code to be displayed on the user monitor.
The function requests the Intel AMT device displaying the consent code and calls UpOnRequestStatus input callback function with one of the following states:
• DisplayCodeRequestStatus.CodeDisplayed - the consent code was displayed successfully – go to step 2.
• DisplayCodeRequestStatus.RebootRequired - the graphics card is external; should invoke the Restart local host operation.
• DisplayCodeRequestStatus.PowerUpRequired - the local system is in Sx state; should invoke the power up local host operation.
Once calling either DisplayCodeRequestStatus.RebootRequired or DisplayCodeRequestStatus.PowerUpRequired states, the DisplayConsentCode function continues waiting for the DisplayCodeRequestStatus.DisplayedCode state, and UpOnRequestStatus input callback function will be called again with DisplayedCode state.
When UserConsent.DisplayConsentCode requests displaying the user consent, the state is ConsentProcessState.Requested.
|
|
|
The UserConsent.DisplayConsentCode waits one minute for the Intel AMT to change to DisplayedCode state. If the state has not changed at the end of this time frame, the function cancels its request to display the user consent code and throws a UserConsentManageabilityException type exception. |
2. When UserConsent.DisplayConsentCode exits successfully with DisplayCodeRequestStatus.CodeDisplayed status, the User Consent state is equal to ConsentProcessState.Displayed.
If the user could not see the consent code, perform UserConsent.ChangeScreen to move the sprite display to another screen.
In Pre-8.0 releases ChangeScreen function is looped between two screens. In later releases it is looped between three.
3. After UserConsent.DisplayConsentCode exits successfully with DisplayCodeRequestStatus.CodeDisplayed status, the code will be displayed until UserConsentSettings.DisplayTimeout seconds have elapsed (see Set User Consent Settings).
The platform user is expected to communicate the displayed user consent code to the remote operator over the telephone, via a text message, or by some other method.
4. Send Consent Code – the remote operator will send the consent code as a string by UserConsent.SendCode function.
The user consent state moves to ConsentProcessState.ReadyForSessionStart state.
5. Once user consent has been established, new remote sessions can be opened without additional user consent, until a period of UserConsentSettings.SessionTimeout (see user consent setting section) minutes of inactivity has elapsed.
When a KVM or Storage Redirection session is opened the user consent state moves to the ConsentProcessState.InSession state.
In each user consent state except for InSession state, the user consent flow can be cancelled by invoking the UserConsent.CancelConsentProcess function.
|
Copyright © 2006-2022, Intel Corporation. All rights reserved. |