Electronic device for performing different login process according to authentication type and control method thereof
Electronic devices perform a login process differently depending on a type of authentication, and control methods are described. Electronic devices may include a communication module and at least one processor. The at least one processor is configured to receive a signal for requesting transmission of user information stored in the electronic device via the communication module from an external electronic device operatively connected to the electronic device. Based on the reception of the signal, first type authentication or second type authentication different from the first type authentication is performed. Information associated with whether the first type authentication is performed or the second type authentication is performed, together with the user information, is transmitted to the external electronic device so that a login process different depending on the first type authentication or the second type authentication is performed in the external electronic device.
1 . An electronic device comprising:
a communication module; and
at least one processor,
a touch screen display, and
memory storing instructions,
wherein the instructions, when executed by the at least one processor, cause the electronic device to:
display, via the touch screen display, an execution screen of a first application configured to transmit data stored in the electronic device to an external electronic device operatively connected to the electronic device,
while the execution screen of the first application is displayed on the display, receive a signal for requesting transmission of user information stored in the electronic device via the communication module from the external electronic device,
based on reception of the signal, perform a first type authentication or a second type authentication different from the first type authentication, wherein the first type authentication includes biometric authentication, and the second type authentication includes at least one of pattern authentication, pin authentication, or password authentication, and
transmit, to the external electronic device via the communication module, a token together with the user information, so that a login process is performed in the external electronic device receiving the data from the electronic device based on the first type authentication or the second type authentication, wherein the login process includes an automatic login process or a two factor authentication (2FA) skip login process, the token comprising a value that indicates whether the whether the first type authentication is performed or the second type authentication is performed, the value being one of a predetermined character string, a predetermined hash value, or a decoding value for the encoding value of the predetermined character string.
2 . The electronic device of claim 1 , wherein the instructions cause the electronic device to receive the token corresponding to the user information via the communication module from an account server that is operatively connected to the electronic device.
3 . The electronic device of claim 2 , wherein the instructions cause the electronic device to transmit the token together with the user information to the external electronic device via the communication module.
4 . The electronic device of claim 1 , wherein the user information includes a user account configured to require performing of the 2FA login process.
5 . The electronic device of claim 1 , wherein the instructions cause the electronic device to determine, based on the reception of the signal, whether the user information is stored in the electronic device.
6 . An electronic device comprising:
a communication module;
a touch screen display;
at least one processor, and
memory storing instructions,
wherein the instructions, when executed by the at least one processor, cause the electronic device to:
receive, via the touch screen display, a user input for obtaining user information stored in an external electronic device operatively connected to the electronic device from the external electronic device,
transmit to the external electronic device, based on reception of the user input, a signal for requesting transmission of the user information via the communication module,
receive, based on the transmission of the signal, from the external electronic device, a token together with the user information via the communication module, wherein the first type authentication includes biometric authentication, and the second type authentication includes at least one of pattern authentication, pin authentication, or password authentication, the token comprising a value that indicates whether the whether a first type authentication is performed or a second type authentication is performed, the value being one of a predetermined character string, a predetermined hash value, or a decoding value for the encoding value of the predetermined character string,
display, via the touch screen display, an execution screen of a first application configured to receive the user information from the external electronic device, wherein the execution screen of the first application includes information that a reception of the user information from the external electronic device is completed,
while the execution screen of the first application is displayed on the touch screen display, identify which type of authentication is performed in the external electronic device based on the token,
based on the first type authentication being performed in the external electronic device, perform an automatic login process, and
based on the second type authentication being performed in the external electronic device, perform a two factor authentication (2FA) skip login process.
7 . The electronic device of claim 6 , wherein the instructions cause the electronic device to receive the token corresponding to the user information from the external electronic device via the communication module.
8 . The electronic device of claim 7 , wherein the instructions cause the electronic device to perform the automatic login process by transmitting the token to the account server operatively connected to the electronic device.
9 . The electronic device of claim 7 , wherein the instructions cause the electronic device to receive a password input by a user, and to transmit the token, the user information, and the password to the account server, so as to perform the 2FA skip login process.
10 . A non-transitory storage medium storing one or more program, the one or more program comprising executable instructions, when executed by at least one processor of an electronic device, cause the electronic device to:
receive, via a touch screen display of the electronic device, a user input for obtaining user information stored in an external electronic device operatively connected to the electronic device from the external electronic device,
transmit to the external electronic device, based on reception of the user input, a signal for requesting transmission of the user information via a communication module of the electronic device,
receive, based on the transmission of the signal, from the external electronic device, a token together with the user information via the communication module, wherein the first type authentication includes biometric authentication, and the second type authentication includes at least one of pattern authentication, pin authentication, or password authentication, the token comprising a value that indicates whether the whether a first type authentication is performed or a second type authentication is performed, the value being one of a predetermined character string, a predetermined hash value, or a decoding value for the encoding value of the predetermined character string,
display, via the touch screen display, an execution screen of a first application configured to receive the user information from the external electronic device, wherein the execution screen of the first application includes information that a reception of the user information from the external electronic device is completed,
while the execution screen of the first application is displayed on the touch screen display, identify which type of authentication is performed in the external electronic device based on the token,
based on the first type authentication being performed in the external electronic device, perform an automatic login process, and
based on the second type authentication being performed in the external electronic device, perform a two factor authentication (2FA) skip login process.
11 . The non-transitory storage medium of claim 10 , wherein the instructions cause the electronic device to receive the token corresponding to the user information via the communication module from an account server operatively connected to the electronic device.
12 . The non-transitory storage medium of claim 11 , wherein the instructions cause the electronic device to transmit the token together with the user information to the external electronic device via the communication module.
13 . The non-transitory storage medium of claim 10 , wherein the user information includes a user account configured to require performing of the 2FA login process.
14 . The non-transitory storage medium of claim 10 , wherein the instructions cause the electronic device to, based on the reception of the signal, determine whether the user information is stored in the electronic device.