CPC H04L 63/0807 (2013.01) [H04L 63/083 (2013.01); H04L 63/0853 (2013.01); H04W 12/06 (2013.01)] | 21 Claims |
1. A method comprising:
displaying, via a display of an electronic device and by a first component of the electronic device on behalf of a process executing on the electronic device, a user interface element corresponding to a function of the process executing on one or more processors of the electronic device;
receiving, by the first component of the electronic device, an indication of an interaction with the user interface element;
in response to receiving the indication:
in accordance with a determination that the indication corresponds to a hardware input event, sending, by the first component of the electronic device and to the process, a notification of the hardware input event, the notification comprising an authentication token;
after the sending, receiving, by the first component and from the process, the authentication token;
verifying, by the first component, that the authentication token is valid; and
after verifying that the authentication token is valid, initiating execution of the function.
|