| CPC H04L 63/0876 (2013.01) | 18 Claims |

|
1. A device comprising:
a communication interface; and
a controller configured to:
receive, via the communication interface, device identification information and connection information from an intermediary server, the device identification information indicating the device, the intermediary server being configured to store the device identification information and the connection information in association with each other, the connection information being information for connecting to a target server, the target server being configured to store authentication information in association with the device identification information;
connect, via the communication interface, to the target server by using the connection information; and
after connecting to the target server, perform a particular process including communication with the target server, the particular process including:
receiving, via the communication interface, the authentication information from the target server;
verifying whether the authentication information is authentic;
in response to determining that the authentication information is authentic and that a particular condition is satisfied, performing a post-authentication process without performing an update process of updating the authentication information; and
in response to determining that the authentication information is authentic and that the particular condition is not satisfied, performing the update process and the post-authentication process.
|