# Patent

## Title
Secure authentication of a user using a mobile device

## Abstract

A computer-readable medium embodies a computer program for authenticating a user. The computer program comprises computer-readable program code for: generating a first message including an identifier for a session, sending the first message through an interface associated with the session, receiving a response message including the identifier for the session, a user identifier, and at least a portion encrypted using a private key associated with a mobile device associated with the user, and authenticating the user in response to identifying that the response message includes at least the portion encrypted using the private key associated with the mobile device.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is related to U.S. patent application Ser. No. 13/476,864, filed even date hereof, entitled “Secure Registration of a Mobile Device for Use with a Session” and U.S. patent application Ser. No. 13/476,890, filed even date hereof, entitled “Obtaining Information for a Payment Transaction.” U.S. patent application Ser. No. 13/476,864, and 13/476,890 are hereby incorporated by reference into the present application as if fully set forth herein.
TECHNICAL FIELD
The present disclosure relates generally to security in user sessions and more specifically to authentication of a user using a mobile device.
BACKGROUND
Proliferation of user identifiers and passwords that a user has to remember is a well known issue. If a user uses the same passwords and/or user identifiers at multiple websites or with multiple entities, security is reduced. On the other hand, if the user uses different passwords and/or user identifiers for each website or entity, the user may have difficulty remembering each individual password and/or user identifier.
SUMMARY
According to one embodiment of the present disclosure, the different illustrative embodiments provide a computer-readable medium embodying a computer program for authenticating a user. The computer program comprises computer-readable program code for: generating a first message including an identifier for a session and sending the first message through an interface associated with the session. The computer program also includes computer-readable program code for: receiving a response message including the identifier for the session, a user identifier, and at least a portion encrypted using a private key associated with a mobile device associated with the user, and authenticating the user in response to identifying that the response message includes at least the portion encrypted using the private key associated with the mobile device.
According to another embodiment of the present disclosure, the different illustrative embodiments provide a computer-readable medium embodying a computer program for authenticating a user. The computer program comprises computer-readable program code for: receiving, through an interface associated with a session, a first message including an identifier for the session, and generating a response message including the identifier for the session, a user identifier, and at least a portion encrypted using a private key associated with a mobile device associated with the user. The response message is encrypted using a public key associated with one of an entity and a third party. The computer program also includes computer-readable program code for sending the response message to one of the entity and the third party to request authentication of the user for the session.
According to another embodiment of the present disclosure, the different illustrative embodiments provide a computer-readable medium embodying a computer program for authenticating a user. The computer program comprises computer-readable program code for: generating a first message including an identifier for a session, and sending the first message through an interface associated with a session associated with an entity. The computer program also includes computer-readable program code for: generating a second message including a challenge code in response to receiving a user identifier through the interface associated with the session, sending the second message through the interface associated with the session, and authenticating the user in response to receiving an input comprising a response code via the interface associated with the session. The response code is a function of the challenge code.
According to another embodiment of the present disclosure, the different illustrative embodiments provide a computer-readable medium embodying a computer program for authenticating a user. The computer program comprises computer-readable program code for: receiving, through an interface associated with a session associated with an entity, a first message including an identifier for the entity, and receiving, through the interface associated with the session, a second message including a challenge code. The computer program also includes computer-readable program code for: displaying, on a mobile device, a response code for the user to enter into the interface associated with the session. The response code is a function of the challenge code.
Other technical features may be readily apparent to one skilled in the art from the following figures, descriptions, and claims.



BRIEF DESCRIPTION OF THE DRAWINGS
For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which like reference numerals represent like parts:
FIG. 1 illustrates a networked system of data processing systems in accordance with an illustrative embodiment;
FIG. 2 illustrates a message flow diagram for registering a mobile device in accordance with an illustrative embodiment;
FIG. 3 illustrates a message flow diagram for confirmation of a transaction using an online mode in accordance with an illustrative embodiment;
FIG. 4 illustrates a message flow diagram for a confirmation of a transaction using an offline mode in accordance with an illustrative embodiment;
FIG. 5 illustrates a message flow diagram for authenticating a user for a session using an online mode in accordance with an illustrative embodiment;
FIG. 6 illustrates a message flow diagram for authenticating a user for a session using an offline mode in accordance with an illustrative embodiment;
FIG. 7 illustrates a message flow diagram for payment processing in accordance with an illustrative embodiment;
FIG. 8 illustrates a flowchart for a process for registering a mobile device in accordance with an illustrative embodiment;
FIG. 9 illustrates a flowchart for a process for registering a mobile device performed at a mobile device in accordance with an illustrative embodiment;
FIG. 10 illustrates a flowchart of a process for confirming a transaction based on a mobile device in accordance with an illustrative embodiment;
FIG. 11 illustrates a flowchart of a process for confirming transactions using a mobile device in accordance with an illustrative embodiment;
FIG. 12 illustrates a flowchart for a process for authenticating a user for a session in accordance with an illustrative embodiment;
FIG. 13 illustrates a flowchart for a process for authenticating a user for a session performed at a mobile device in accordance with an illustrative embodiment;
FIG. 14 illustrates a flowchart for a process for authenticating a user for a session using a token in accordance with an illustrative embodiment;
FIG. 15 illustrates a flowchart for a process for authenticating a user for a session using a token performed at a mobile device in accordance with an illustrative embodiment;
FIG. 16 illustrates a flowchart for a process for obtaining information for a payment transaction in accordance with an illustrative embodiment;
FIG. 17 illustrates a flowchart for a process for obtaining information for a payment transaction performed at a mobile device in accordance with an illustrative embodiment; and
FIG. 18 illustrates a block diagram of a data processing system in accordance with an illustrative embodiment.



DETAILED DESCRIPTION
The various figures and embodiments used to describe the principles of the present invention in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the inventions. Those skilled in the art will understand that the principles of the inventions may be implemented in any type of suitably arranged device or system.
Embodiments of the present disclosure provide authentication for various transaction confirmations, access sessions and information exchanges utilizing a mobile device of a user. Embodiments of the present disclosure utilize registration processes to allow a mobile device of a user to act as an authentication token for various situations. Embodiments of the present disclosure provide security and simplicity in various user sessions. Embodiments of the present disclosure provide a transaction confirmation mechanism for various transactions. Embodiments of the present disclosure reduce the requirement for users to remember passwords, user identifiers and other personal information while maintaining and/or increasing security in user sessions.
As used herein, the term “session” means an interaction between two or more entities, individuals or objects. For example, a session may refer to a session for confirming a transaction, or a session for which a user is being authenticated. In these examples, the session can be a process that may be associated with a particular physical or virtual device that can interact with a user or a mobile device of a user. In some examples, a session may be a web session or other network access session such as, for example, logging into an account, website or computer. In other examples, the session may be an embedded session to a door lock mechanism or other electronic locking device. This session may terminate as soon as access is granted or may continue.
FIG. 1 illustrates a networked system 100 of data processing systems in which various systems and methods of the present disclosure can be implemented. As shown in FIG. 1, system 100 includes network 102, which is the medium used to provide communication links between various computers and other devices. Network 102 may include any suitable connections, such as wired, wireless or fiber optic links. In some embodiments, network 102 represents at least a portion of the Internet and can include a worldwide collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol suite of protocols to communicate with one another, although any other public and/or private network(s) could be used in system 100.
In this illustrative example, entity data processing system 104, trusted third party data processing system 106 and notification data processing system 108 connect to network 102. Entity data processing system 104 is a data processing system, such as a server, associated with an entity. The entity is an individual or organization with which a user desires to engage with or otherwise obtain something from. For example, without limitation, the entity may be a business the user desires to purchase something from, a provider of a service the user wants to access, an authorizer of access to an area and/or any other type of entity that a user desires to engage with or otherwise obtain something from. As specific examples, without limitation, the entity may be a retailer, a bank, a website or an authorizer of a locked area.
The trusted third party data processing system 106 is a data processing system, such as a server, associated with a trusted third party. For example, the trusted third party is an individual or organization that may provide various functions of the authentication services of the present disclosure for the entity. Notification data processing system 108 is a data processing system, such as a server, associated with a notification system. For example, the notification system 108 may provide notifications associated with authentication processes for the entity and/or the trusted third party to a user data processing system 110 and/or a mobile device 112.
Although various embodiments of the disclosure may describe activities that are performed by one of the entity data processing system 104 and the trusted third party data processing system 106, such activities may be performed by either the entity data processing system 104 or the trusted third party data processing system 106. For example, the trusted third party data processing system 106 may perform the registration and authentication procedures of the present disclosure on behalf of the entity data processing system 104. The trusted third party data processing system 106 may send, receive, approve and/or deny various activities and simply notify the entity of the actions taken. In another example, the trusted third party data processing system 106 may not exist, and all registration and authentication procedures may be implemented by the entity data processing system 104. In other examples, certain tasks are performed by the entity data processing system 104, and other tasks are performed by the trusted third party data processing system 106.
The user data processing system 110 and the mobile device 112 connect to the network 102. The user data processing system 110 may be, for example, a personal computer, a network computer, a personal digital assistant, a phone or a mobile computing device operated by or otherwise under the control of a user. The mobile device 112 is a mobile phone, a personal digital assistant or another mobile computing device of a user. In various embodiments of the present disclosure, the mobile device 112 may be registered with the entity data processing system 104 and/or the trusted third party data processing system 106 for use in various disclosed authentication processes.
A payment device 114 also connects to the network 102. The payment device 114 is a data processing system that may be used for processing of payment transactions for the entity data processing system 104. For example, the payment device 114 may include a display, a credit card reader, a register, a keypad and/or various other components associated with processing of payment transactions.
The system 100 may include multiple server data processing systems, client data processing systems, mobile devices and other devices not shown. The system 100 may be implemented using a number of different types of networks, such as, for example, the Internet, a local area network (LAN) or a wide area network (WAN). FIG. 1 is intended as an example and not as an architectural limitation for the different embodiments.
Security measures associated with various authentication and registration procedures of the present disclosure are based on asymmetric cryptography with public/private keys. Security is maintained through trust established between the entity data processing system 104 (and/or the trusted third party data processing system 106) and the mobile device 112 during registration procedures. This trust is based on keeping the private key of the mobile device 112 private within the mobile device and keeping the private key of the entity data processing system 104 (and/or the trusted third party data processing system 106) private. Furthermore, this trust is based on the storage in the mobile device 112 of the public key of the entity data processing system 104 (and/or the trusted third party data processing system 106) and the storage at the entity data processing system 104 (and/or the trusted third party data processing system 106) of the public key of the mobile device 112. Messages sent from the entity data processing system 104 or the trusted third party data processing system 106 to the mobile device 112 may be encrypted with the public key of the mobile device 112 (so only the mobile device 112 can read the message) and signed by the entity data processing system 104 or the trusted third party data processing system 106 so that the mobile device 112 knows the message came from the entity data processing system 104 or the trusted third party data processing system 106. As used herein, the term “signed,” when referring to secure messages, means that all or a portion of the message is encrypted using a private key of the signing party. Since the key is private, only the signing party could have performed the encryption; thus indicating the authenticity of the signature.
Similarly, messages sent from the mobile device 112 to the entity data processing system 104 or the trusted third party data processing system 106 may be encrypted with the public key of the entity data processing system 104 or the trusted third party data processing system 106. Thus, only the entity data processing system 104 (or the trusted third party data processing system 106) can read the message. The messages may be signed by the mobile device 112 so the entity data processing system 104 (or the trusted third party data processing system 106) knows the message came from the mobile device 112.
In some embodiments, security measures may be based on a shared-secret key-type architecture. For example, some embodiments may utilize a shared secret in challenge and response procedures to establish security of messages exchanged. In other examples, a full Diffie-Hellman key exchange may be accomplished prior to sending data.
In various embodiments of the present disclosure, the mobile device 112 utilizes an application to perform various functions for the authentication procedures of the present disclosure. For example, a user may download the application to the mobile device 112 over a network from a provider of the application. For example, the user may learn about the application from the entity that uses the authentication procedures of the present disclosure. The exact process of installing the application will depend on what type of mobile device 112 the user has (iPhoneTM, AndroidTM, BlackberryTM, WindowsTM phone device, etc.). For each supported type of mobile device 112, the trusted third party may use a marketplace to provide the application for download.
When the application is installed, the application may run various initial registration processes. For example, the mobile device 112 can generate a random public/private key pair. This pair may be based on some pseudo random number algorithm which may be based on different sensor inputs and parameters.
The application may perform an authentication process with the trusted third party data processing system 106 before the application can securely send the public key of the mobile device 112 to the trusted third party data processing system 106 along with other configuration information that may be needed for communications and notifications. Also, the trusted third party data processing system 106 may assign the mobile device 112 a particular identifier. The trusted third party data processing system 106 and the mobile device 112 may store the exchanged information for future use.
Various embodiments utilize specific user inputs to identify that the user is indeed the proper authorized user of the mobile device 112. For example, without limitation, as part of the initiation procedures, the mobile device 112 may store an input personal identification number (PIN), a password, a biometric scan (e.g., fingerprint, image for facial recognition), a particular gesture on a touch screen of the mobile device 112, or a predetermined pattern of movement of the mobile device 112. The user inputs are stored in the mobile device 112 for later use.
In various embodiments of the present disclosure, messages received by the mobile device 112 and messages sent by the mobile device 112 may travel via different communication paths. For example, the mobile device 112 may send and/or receive information via a traditional communication path 116. The traditional communication path 116 is a network link, such as a wired, optical fiber or wireless (e.g., WiFi, cellular data network) network communication link. The mobile device 112 may receive messages over non-traditional communication paths 118. For example, the non-traditional communication paths 118 may include limited distance communication paths, such as an optical scan, a near-field communication, a limited distance point-to-point radio and/or an audible communication. These non-traditional communication paths 118 are limited distance communication paths and may require the presence of the mobile device 112 to be within a vicinity of a specific location for the mobile device 112 to obtain the information. In these examples, the use of the non-traditional communication paths 118 to ensure that the mobile device 112 is within a vicinity of a specific location may be used to add a layer of security in various registration, confirmation, authentication and payment procedures of the present disclosure.
FIG. 2 illustrates a message flow diagram for registering a mobile device in accordance with an illustrative embodiment. The registration processes of the present disclosure are the processes of associating the mobile device 112 owned by the user with the entity data processing system 104 and/or the trusted third party data processing system 106.
The user can initiate the registration procedure 205 by selecting an input in an interface of the application on the mobile device 112 and/or an interface of the entity data processing system 104 (e.g., a website of the entity displayed on user data processing system 110, mobile device 112, or other device).
The entity data processing system 104 may then send a message 210 to the trusted third party data processing system 106 requesting registration of the mobile device 112. For example, the message 210 may include a uniform resource locator (URL) for a web address that is used for the registration. A secure sockets layer (SSL) certificate may need to exist for this URL and be signed by a Certificate Authority. The public key of this certificate can be used for future authentications. In embodiments where the trusted third party data processing system 106 does not exist, the message 210 may not be sent.
The trusted third party data processing system 106 will then generate and send a message 215 to the entity data processing system 104. The trusted third party data processing system 106 may also start a timer for response from the mobile device 112. For example, the message 215 may include an operation identifier for a type of registration procedure being performed, a random unique registration code and the contents from the message 210 received from the entity data processing system 104. In embodiments where the trusted third party data processing system 106 does not exist, the message 215 may be generated by the entity data processing system 104.
The entity data processing system 104 then provides this message 220 for receipt by the mobile device 112. For example, without limitation, contents of the message 220 may be displayed to the user on a website associated with the entity data processing system 104 as clear text (e.g., unencrypted and readable by the user) or an optically-scannable image (e.g., encoded in a QR code, bar code or other symbols that can be captured by a camera and identified by the mobile device 112), sent using near field communication (NFC) devices or other limited distance point-to-point radio, or encoded as audio to be played by a speaker of the user data processing system 110.
The mobile device 112 identifies the contents of the message (e.g., scans and decodes the optically-scannable image, captures and decodes the message from the audio received, captures and decodes the message from the data exchanged via NFC and/or a user identifies the contents from clear text displayed on the user data processing system 110 and manually enters contents of the message into the mobile device 112). This identification is generally denoted as a transfer of information 225.
In embodiments where the message 220 is transferred as an optically-scannable image, this image may be a static image on a screen of a device or a series of images forming an animation or a movie on a screen of a device. In embodiments where the message 220 is transferred as an optically-scannable image, the image (or images) may be displayed on a display screen of the user data processing system 110 or a device associated with the entity data processing system 104, and the mobile device 112 receives the message through a camera or other optical sensor. Alternatively, in other examples, the image or images can be sent through an electrical connection from a user data processing system 110 or a device associated with the entity data processing system 104 to the mobile device 112. For example, the user may plug a cable into the mobile device 112.
In embodiments where the message 220 is transferred as audio, the sound may be played out of a physical speaker or another sound transducer attached to, for example, the user data processing system 110 or a device associated with the entity data processing system 104, and the mobile device 112 receives the message through a microphone or other sound or vibration sensor. In other embodiments, the audio may be “played” through an electrical connection from the user data processing system 110 or a device associated with the entity data processing system 104 to the mobile device 112. For example, the user may plug a cable into the mobile device 112.
The mobile device 112 sends a response message 230 to the trusted third party data processing system 106. For example, the response message 230 may include the random unique registration code from the message 215 and the signature of the mobile device 112, with the response message 230 encrypted with the public key for the trusted third party data processing system 106. The trusted third party data processing system 106 can match and associate the entity data processing system 104 session with the mobile device 112 session by matching the random unique registration codes. The trusted third party data processing system 106 sends a message 235 notifying the entity data processing system 104 of the association of the sessions and the public key of the mobile device 112, which may be stored and used for authentication procedures.
In embodiments where the trusted third party data processing system 106 is not used, the response message 230 may be sent directly to the entity data processing system 104 with the entity data processing system 104 performing the association of the sessions. In these examples, secure exchange of information between the entity data processing system 104 and the mobile device 112 may be accomplished using transport layer security (TLS) or SSL security protocols.
At this point, the registration of the mobile device 112 may be complete. In various embodiments, an additional encrypted message exchange with a second random code may be performed to increase security of the registration procedure. For example, the entity data processing system 104 may generate a random code (a second code) and send a message 240 with the second random code to the trusted third party data processing system 106. As a specific example, the message 240 may be encrypted with the public key for the mobile device 112 and may include the security certificate for the entity data processing system 104, which includes the public key for the entity data processing system 104 and is signed by a third party Certificate Authority, the user identifier for the identity that the user is attempting to register with the entity data processing system 104, the second code and the signature for the message by the entity data processing system 104.
The trusted third party data processing system 106 forwards the message 240 to the mobile device 112 and may include a signature of the trusted third party data processing system 106 in the forwarded message 245. Upon receipt, the mobile device 112 may perform one or more of the following actions. The mobile device 112 may identify the signature of the trusted third party data processing system 106, decrypt the message 240 forwarded from the entity data processing system 104, extract the public key of the entity data processing system 104, check the signature of the entity data processing system 104, check the validity of the security certificate, compare the URL in the security certificate with the URL previously received in the message 215 and identify the second random code from the decrypted message 240. The mobile device 112 displays 250 the second random code for the user to enter in the interface associated with the entity data processing system 104 via the user data processing system 110. The user data processing system 110 sends the entered second code to the entity data processing system 104 in a message 255.
The entity data processing system 104 compares the second code against what was sent and, if the codes match, sends a success message 260 to the trusted third party data processing system 106. The trusted third party data processing system 106 then may send a success message 265 to the mobile device 112. For example, the success message 265 is encrypted with the public key for the mobile device 112 and may include a website identifier for the entity data processing system 104 and a signature for the message using the private key of the trusted third party data processing system 106. The entity data processing system 104, the mobile device 112 and/or the trusted third party data processing system 106 store the relevant data for the registration association. As discussed above, however, the registration association can be completed without the exchange of the second code.
In some embodiments, registration of the mobile device 112 may occur without a custom phone application. For example, the message sent to the mobile device 112 may include a URL for a website where an authentication procedure is performed. Upon successful authentication, the website returns a security token (e.g., cookie) to the mobile device 112. The mobile device 112 can include the security token in subsequent messages as an identifier or a signature of the mobile device 112. The security token may be used to authenticate the mobile device 112 for a session or provide information for a user transaction.
FIG. 3 illustrates a message flow diagram for confirmation of a transaction using an online mode in accordance with an illustrative embodiment. Various embodiments of the present disclosure provide services for confirmation of a transaction using the mobile device 112. For example, to perform a certain transaction, a user may need to be in possession of the mobile device 112 to confirm the transaction. This confirmation can optionally be further qualified with one or more factors. For example, without limitation, these factors may include a PIN, a password, a biometric scan, a predetermined particular gesture on a touch screen of the mobile device 112 and a predetermined pattern of movement of the mobile device 112.
In the examples below, the mobile device 112 can be alerted of the request for the confirmation using a notification mechanism used by an operating system of the mobile device 112. Notifications may be performed by a separate entity (e.g., the notification system 108). For example, without limitation, the notification may be a pop up, an email, a text message, a banner, an automatic launch of the authentication application installed on the mobile device and/or any other type of notification.
To initiate a confirmation, the entity data processing system 104 sends a message 305 requesting the confirmation to the trusted third party data processing system 106. The message 305 may include information to be displayed on the mobile device 112 and a user identifier associated with the transaction to identify the mobile device 112 to be used for the confirmation. The information may be encrypted by the entity data processing system 104 with the public key of the mobile device 112. The trusted third party data processing system 106 will identify the information needed to reach the mobile device 112. For example, the trusted third party data processing system 106 may identify the identifier and/or the public key for the mobile device 112 obtained from an earlier registration procedure. As a particular example, the trusted third party data processing system 106 may send a message 310 to the notification system 108 to send a notification 315 to the mobile device 112. In other examples, the trusted third party data processing system 106 may send the notification 315 directly to the mobile device 112. In yet other examples, the entity data processing system 104 may send the notification 315 directly to the mobile device 112 or through the notification system 108. In this example, the entity data processing system 104 may identify information needed to contact the mobile device 112 from a previous registration procedure performed with the mobile device 112.
Upon receipt of the notification 315, the mobile device 112 may run an application 320. The mobile device 112 may perform an initialization procedure with the trusted third party data processing system 106. For example, the mobile device 112 may send a message 325 to the trusted third party data processing system 106. The information from the message 305 may be delivered to the mobile device 112 in the notification 315 or a response message 330. The information may be encrypted with the public key of the mobile device 112. In embodiments where the trusted third party data processing system 106 does not exist, the mobile device 112 can communicate directly with the entity data processing system 104.
The trusted third party data processing system 106 or the entity data processing system 104 may set a period of time at the initial connection with the mobile device 112 for the mobile device 112 to respond. If a response is not received from the mobile device 112, the trusted third party data processing system 106 may respond to the entity data processing system 104 with an appropriate error response.
Some transactions may require confirmation of multiple end users. For example, two of five users may need to approve a bank transaction. In this example, the entity data processing system 104 and/or the trusted third party data processing system 106 identifies the users that confirmation may be needed from and sends the request for confirmation to the mobile devices 112 associated with those users. Upon receipt of confirmation of the required number of users, the entity data processing system 104 may then approve the transaction. In another example, the user required to approve the transaction may not be the same user requesting the transaction. In this example, the entity data processing system 104 and/or the trusted third party data processing system 106 identifies the user that confirmation is needed from and sends the request for confirmation to that mobile device 112 associated with that user.
Upon receipt of the message 330, the mobile device 112 may decrypt the message, verify the signature using the public key of the entity data processing system 104 and display 335 a request for a user input to verify that the user is the authorized user of the device (e.g., PIN, password, biometric input, gesture, motion, etc.). For example, the user input may be requested by the entity data processing system 104 based on a security level parameter, or the user may have configured the mobile device 112 to request the user input for the entity data processing system 104 or type of transaction. In an alternative embodiment, the mobile device 112 may verify the signature of the message 330 using the public key of the trusted third party data processing system 106.
The mobile device 112 may display 340, on a display device of the mobile device 112, the information from message 305 as the request for confirmation. When receiving an input including a response to the request for confirmation, the mobile device 112 encrypts a response message 345 with the public key of the entity data processing system 104, signs the response message 345, and sends the response message 345 to the trusted third party data processing system 106. The trusted third party data processing system 106 sends the signed message 350 to the entity data processing system 104. The entity data processing system 104 may then decrypt the message and thereby identify the response from the user.
In an alternative embodiment, the response message 345 may be encrypted with the public key of the trusted third party data processing system 106 and, in this case, the trusted third party data processing system 106 will decrypt the message 345 and send a message 350 including the response to the entity data processing system 104. In embodiments where the trusted third party data processing system 106 does not exist, the mobile device 112 can communicate directly with the entity data processing system 104.
The confirmation procedures of the present disclosure may be implemented in a single-question mode. In the single-question mode, the entity data processing system 104 only needs to send the question information to be displayed on the mobile device 112 to the trusted third party data processing system 106, and the trusted third party data processing system 106 will deliver back the answer.
The confirmation procedures of the present disclosure may include message protocols for a potentially extended dialog between the entity data processing system 104 and the mobile device 112 to confirm the transaction. In this example, upon notification to the mobile device 112 of the request for confirmation, traffic may flow directly between the entity data processing system 104 and the mobile device 112. For example, upon notification, the trusted third party data processing system 106 may supply information regarding a location for the secure session. In this example, the entity data processing system 104 may be a web server. The web session between the entity data processing system 104 and mobile device 112 may be encrypted.
In another example, the traffic flow for the extended dialog may be proxied between the entity data processing system 104 and the mobile device 112 through the trusted third party data processing system 106. The proxied web session between the entity data processing system 104 and mobile device 112 may be a TLS session using a negotiated symmetric key. The TLS negotiation can be done using the previously exchanged (e.g., during registration) public keys and their respective private keys.
FIG. 4 illustrates a message flow diagram for a confirmation of a transaction using an offline mode in accordance with an illustrative embodiment. In these illustrative embodiments, confirmation can be performed when there is lack of connectivity with the mobile device 112 (e.g., in an offline mode). For example, the offline mode may be used when a notification 405 was not successfully sent to the mobile device 112 or the mobile device 112 was unable to contact 410 the trusted third party data processing system 106.
The offline confirmation can be initiated in a number of different ways. For example, the user may request offline confirmation (even if there is connectivity). As a particular example, the user may select an offline mode from a web interface associated with the entity data processing system 104 and select the offline mode on the mobile device 112, as well. The trusted third party data processing system 106 may request the offline mode if the trusted third party data processing system 106 cannot connect to the mobile device 112 or a predetermined period of time has lapsed since the notification was sent. In another example, the entity data processing system 104 may request the offline mode.
When the offline mode is requested, the entity data processing system 104 sends a request 415 for a message from the trusted third party data processing system 106. The trusted third party data processing system 106 generates a message 420 to be provided to the mobile device 112. For example, without limitation, contents of a message 425 may be displayed to the user on a website associated with the entity data processing system 104 as an optically-scannable image, sent using near field communication (NFC) devices or other limited distance point-to-point radio, or encoded as sound played by a speaker of the user data processing system 110. The message 425 may be encrypted with the public key of the mobile device 112 and may include a website identifier for the entity data processing system 104 (e.g., URL for website associated with the entity data processing system 104), a random challenge code, the request for confirmation (e.g., text of a question to display on mobile device 112 screen) and a signature for the message by the trusted third party data processing system 106.
The mobile device 112 identifies 430 the contents of the message (e.g., scans and decodes the optically-scannable image, captures and decodes the message from the sound played or the data exchanged via NFC). The mobile device 112 may decrypt the message, check the signature to verify that the message was sent from the trusted third party data processing system 106 using the public key of the trusted third party data processing system 106 and identify the question and the challenge code. The mobile device 112 may then perform a function on the challenge code resulting in a response code. For example, this function may be a mathematical transformation, a cryptographic function, a null function (e.g., the response code is identical to the challenge code), or some other function. The mobile device 112 may then display 435 the message on the screen along with the response code. The user can respond by entering the response code into the website via the user data processing system 110 associated with the entity data processing system 104. The user data processing system 110 sends the response 440 to the entity data processing system 104. The entity data processing system 104 sends a message 445 including the response code to the trusted third party data processing system 106 for comparison with the expected response to the challenge code originally issued. The trusted third party data processing system 106 sends a message 450 to the entity data processing system 104 including a result of the comparison for the entity to approve 455 the transaction. In an alternative embodiment, the entity data processing system 104 may approve the transaction if the response code matches the expected result from what was originally sent in the message 425, and the messages 445 and 450 may not be generated or sent.
In some embodiments, the entity data processing system 104 may generate and sign message 420 or otherwise obtain the challenge code from the trusted third party data processing system 106. In this case, the mobile device 112 may check the signature to verify that the message was sent from the entity data processing system 104 using the public key of the entity data processing system 104. For example, in some embodiments, the trusted third party data processing system 106 may not exist. In these examples, the entity data processing system 104 may perform the comparison of the code from the message 440 with that in the message 420 and approve (or deny) the transaction without input from the trusted third party data processing system 106.
The procedures for multiple user confirmation single-question confirmation, extended dialog confirmation and proxied communication confirmation with regard to the online mode described above regarding FIG. 3 can be implemented in the offline mode described with regard to FIG. 4. For example, one or more of these confirmation procedures may be implemented through a website interface for the entity data processing system 104.
FIG. 5 illustrates a message flow diagram for authenticating a user for a session using an online mode in accordance with an illustrative embodiment. The various embodiments authenticate a user for a session utilizing the mobile device 112 of the user. The authentication procedures of the present disclosure can reduce or remove the need to remember user identifiers and passwords to gain access to authenticated sessions. For example, the sessions for which the authentication processes of the present disclosure can be utilized include login onto a computer or a website, unlocking an electronic lock (e.g., on a door) and/or any other type of access for which a user may be authorized.
When the entity data processing system 104 needs to enable users to authenticate for a session associated with the entity data processing system 104, the entity data processing system 104 sends a message 505 to the trusted third party data processing system 106. The trusted third party data processing system 106 generates and sends a message 510 in response to the entity data processing system 104. The message 510 may include a security level identifier (e.g., whether a user input to verify the user is required, what type and how many user inputs, or whether user input requirements are to be decided according to the configuration of the mobile device 112), an identifier for the session (e.g., an identifier for the entity data processing system 104, URL of a website, an identifier for the web session or an identifier of a computer or electronic lock) and a signature for the message using the private key of the trusted third party data processing system 106.
In an alternate embodiment, message 510 may be generated by the entity data processing system 104. In this embodiment, the message 510 is signed by the entity data processing system 104.
The entity data processing system 104 sends the message 515 to be provided to the mobile device 112. For example, without limitation, contents of the message 515 may be displayed to the user on a website associated with the entity data processing system 104 as an optically-scannable image (e.g., encoded in a QR code, bar code, or other symbols that can be captured by a camera and identified by the mobile device 112), sent using near field communication (NFC) devices or other limited distance point-to-point radio, or encoded as sound played by a speaker of the user data processing system 110.
The mobile device 112 identifies 520 the contents of the message (e.g., scans and decodes the optically-scannable image, captures and decodes the message from the sound played or the data exchanged via NFC). In some embodiments, the user data processing system 110 and the mobile device 112 may be the same. For example, the user may attempt authentication using the mobile device 112 (e.g., login into a website on the mobile device 112). In these examples, the mobile device 112 may identify 520 the contents of the message 515 within the mobile device 112 itself without an actual optical scan, radio or audio transfer occurring.
The mobile device 112 may verify the signature using the public key of the trusted third party data processing system 106, identify the identifier for the session and identify the user identifier previously registered for the entity data processing system 104. If more than one identity is found (e.g., multiple logins), the mobile device 112 may present a selection menu for the user to choose a user identifier from. The mobile device 112 may display a request for confirmation of the authentication for the session. The mobile device 112 may also display a request to verify 525 that the user is an authorized user of the mobile device 112. In some embodiments, the mobile device 112 may verify the signature of the message 515 using the public key of the entity data processing system 104.
The mobile device 112 then sends a response message 530 to the trusted third party data processing system 106. The response message 530 may be encrypted with the public key for the trusted third party data processing system 106 and may include the identifier for the session, the user identifier, an identifier of the mobile device 112, a signature for the message using the private key of the mobile device 112 and a token (e.g., a cookie) identifying the mobile device 112. Upon receipt, the trusted third party data processing system 106 may verify that the signature matches the public key associated with the mobile device 112 (or verify that the token matches the token associated with the mobile device 112), match the session identifier to the active session with the entity data processing system 104 and send a message 535, including an assertion to the entity data processing system 104 of the user identifier for the session and that the user is authenticated for the session. The entity data processing system 104 then grants the user access (e.g., authenticates 540) the user for the session.
In an alternative embodiment, the contents of the message 515 are signed by the entity data processing system 104, and the message 535 is just a relay of the message 530 through the trusted third party data processing system 106. In this embodiment, the relayed message 535 is encrypted by the mobile device 112 with the public key of the entity data processing system 104.
In another alternative embodiment, the message 530 may contain a token (e.g. a cookie) identifying the mobile device from a previous registration of the mobile device 112. In this case, upon receipt, the trusted third party data processing system 106 may verify that the token matches the token previously registered with the mobile device 112.
In various embodiments including the above-described alternative embodiments, the entity data processing system 104 may perform some or all of the functions of the trusted third party data processing system 106. For example, the trusted third party data processing system 106 may not exist. In one example, the entity data processing system 104 may generate the message 510 based on information received from the mobile device 112 during a previous registration procedure. In another example, the mobile device 112 may encrypt the response message 530 using the public key of the entity data processing system 104 based on information received from the entity data processing system 104 during a previous registration procedure and send the response message 530 directly to the entity data processing system 104. The entity data processing system 104 may decrypt and authenticate the user based on information received from the mobile device 112 during a previous registration procedure. In another example, the entity data processing system 104 may verify that a token in a received message matches the token previously registered with the mobile device 112.
FIG. 6 illustrates a message flow diagram for authenticating a user for a session using an offline mode in accordance with an illustrative embodiment. In these illustrative examples, the authentication process is performed when the mobile device 112, after having identified 520 the contents of the message (e.g., scans and decodes the optically-scannable image, captures and decodes the message from the sound played or the data exchanged via NFC), is unable 605 to connect to the trusted third party data processing system 106 or the entity data processing system 104, or if the user requests the offline mode.
The mobile device 112 may identify the session identifier (e.g. the identifier for the entity data processing system 104) from the message 520 to find the user identifier associated with that entity data processing system 104 from a previous registration. If more than one identity is found (e.g., multiple logins), the mobile device 112 may present a selection menu for the user to choose a user identifier from. To initiate the offline mode, the mobile device 112 may display 610 the user identifier on the display of the mobile device 112. The user may then manually enter the user identifier into an interface associated with the session on the user data processing system 110. The user data processing system 110 sends 615 the user identifier to the entity data processing system 104. Upon receiving the user identifier, the entity data processing system 104 identifies the request for the offline mode and sends 620 the user identifier to the trusted third party data processing system 106.
The trusted third party data processing system 106 uses the user identifier to identify the identifier of the mobile device 112 and corresponding public key and generates and sends a second message 622 to the entity data processing system 104. The trusted third party data processing system 106 or the entity data processing system 104 may start a timer for the response from the user to be received. The second message 622 may be encrypted with the public key for mobile device 112 and may include a random unique challenge code, a security level identifier, the identifier for the entity data processing system 104 and a signature for the message using the private key of the trusted third party data processing system 106. The entity data processing system 104 sends the message 625 through an interface associated with the session (e.g., through user data processing system 110) to be provided to the mobile device 112.
The mobile device 112 identifies 630 the contents of the second message 622 (e.g., scans and decodes the optically-scannable image, captures and decodes the message from the sound played or the data exchanged via NFC). For example, the mobile device 112 may verify the signature using the public key of the trusted third party data processing system 106, decrypt the encrypted portion of the message and verify that the mobile device 112 has been registered with the entity data processing system 104 with the identifier. The mobile device 112 may display a request for a user input to verify 635 that the user is an authorized user of the mobile device 112.
The mobile device 112 may then perform a function on the challenge code resulting in a response code. For example, this function may be a mathematical transformation, a cryptographic function, a null function (e.g. the response code is identical to the challenge code), or some other function. The mobile device 112 may display 640 the response code for the user to enter into the interface associated with the session (e.g., using the user data processing system 110). The user data processing system 110 sends 645 the entered response code to the entity data processing system 104. The entity data processing system 104 sends a message 650 including the entered response code to the trusted third party data processing system 106 for comparison with the expected response code to the originally issued challenge code. The trusted third party data processing system 106 may then send a message 655 to the entity data processing system 104 including an assertion that the user is authenticated for the session. The entity data processing system 104 then grants access (e.g. authenticates 660) the user for the session.
In an alternative embodiment, the contents of the message 515 are signed by the entity data processing system 104, and the message 625 is generated by the entity data processing system 104 and signed by the entity data processing system 104. In this embodiment, the mobile device 112 may verify the signatures of the messages 520 and 630 using the public key of the entity data processing system 104 that the mobile device 112 may have stored during a previous registration.
In some embodiments, the entity data processing system 104 may generate the message 622 or otherwise obtain the challenge code from the trusted third party data processing system 106. For example, in some embodiments, the trusted third party data processing system 106 may not exist. In these examples, the entity data processing system 104 may perform the comparison of the entered response code from the message 645 to the expected response to what was in message 622 and approve (or deny) the transaction without input from the trusted third party data processing system 106.
FIG. 7 illustrates a message flow diagram for payment processing in accordance with an illustrative embodiment. The various embodiments of the present disclosure provide services for payment processing of a transaction using the mobile device 112 as a payment facilitator.
When a transaction is at a point of needing payment from a user, the entity data processing system 104 sends a message 705 to the trusted third party data processing system 106. For example, the request for payment may be generated when a user requests to check out at a restaurant, in a retail store or while accessing an online website store; or in another application, the entity data processing system 104 associated with a website requests information about the user to complete an online activity.
The trusted third party data processing system 106 generates and sends a message 710 in response to the entity data processing system 104. The message 710 may include one or more of a security level identifier, an identifier of the entity data processing system 104 (e.g., an identifier for the Website, a URL or a specific code assigned by the trusted third party data processing system 106), an identifier for the session assigned by the trusted third party data processing system 106, a payment amount, payment options, a description identifying the transaction, currency, a request for shipping information and a signature for the message signed by the trusted third party data processing system 106.
The entity data processing system 104 then sends the message 715 to be provided to the mobile device 112. For example, without limitation, contents of the message 715 may be displayed to the user on a website on a user data processing system 110 or a payment device 114 associated with the entity data processing system 104 as an optically-scannable image (e.g., encoded in a QR code, bar code, or other symbols that can be captured by a camera and identified by the mobile device 112), sent using near field communication (NFC) devices associated with payment device 114 or other limited distance point-to-point radio, encoded as sound played by a speaker of the user data processing system 110 or the payment device 114. In these examples, the payment device 114 may be located in a facility associated with the entity data processing system 104. For example, the payment device 114 may be a point-of-sales terminal that may be in a fixed location or mobile and connected wirelessly. In another example, the contents of the message may be printed (e.g., as an optically-scannable image) on a check or bill.
The mobile device 112 identifies 720 the contents of the message (e.g., scans and decodes the optically-scannable image, captures and decodes the message from the sound played or the data exchanged via NFC). The mobile device 112 may check the signature of the trusted third party data processing system 106 and display 725 information related to the transaction, options for how to complete the transaction, and possibly including a request for the user to confirm the transaction. For example, the mobile device 112 may display a payment amount, a selection of payment accounts (e.g., credit card accounts or bank accounts), information about the merchant (e.g., the entity data processing system 104), the description of the transaction, a field for tip amount or percentage and a request to confirm the payment. In other examples, if it is an online mail order transaction, the mobile device 112 may provide or request that the user confirm or provide a shipping address for items to be delivered.
In one embodiment, the application on the mobile device 112 may automatically identify the information requested from information stored in the mobile device 112. For example, the application may store various payment methods, shipping addresses, email addresses or other personal information. When a request for the information is received, sending the requested information is a matter of a selection and/or confirmation to send the information requested. In one example, the mobile device 112 may automatically calculate a preconfigured tip amount for certain transactions.
In another embodiment, the application on the mobile device 112 may reference information that is stored at the trusted third party data processing system 106 and only display references to the information.
In an alternative embodiment, the mobile device 112 may identify 720 the contents of the message and identify a URL for further communication with the trusted third party data processing system 106, such as over a TLS secure connection. The trusted third party data processing system 106 may proceed to ask for payment confirmation or options over the TLS connection.
When approved, depending on the security level parameter or local configuration in the mobile device 112, the mobile device 112 may display 730 a request for a user input to verify that the user is an authorized user of the mobile device 112.
The mobile device 112 sends a response message 735 to the trusted third party data processing system 106. The response message 735 is encrypted with the public key for the trusted third party data processing system 106 and may include the identifier for the entity data processing system 104, the identifier for the session, the requested information (e.g., payment information, amount, payment account, tip, shipping address selection, personal information), references to the information stored at the trusted third party data processing system 106, the identifier for the mobile device 112 and a signature for the message signed by the mobile device 112.
In an alternative embodiment, the response message 735 is part of an established TLS session between the mobile device 112 and the trusted third party data processing system 106, and the information from the mobile device 112 may include a token (e.g., a cookie), the session identifier and payment information.
In various embodiments of the present disclosure, messages received by the mobile device 112 and messages sent by the mobile device 112 may travel via different communication paths. For example, the communication path for messages 710, 715, and 720 may include a computer network and some form of limited distance non-traditional communication path, (e.g., an optical scan, NFC, sound waves). The response message 735 is sent over a different communications path including a wireless network associated with the mobile device 112 (e.g., WiFi, cellular data network).
The trusted third party data processing system 106 determines whether the signature was created with the public key associated with the identifier of the mobile device 112, and identifies the corresponding session based on the session identifier. The trusted third party data processing system 106 may determine the eligibility of the user's selected payment method, process the transaction using the information provided in the message 735, and send a message 740 notifying the entity data processing system 104 of the processed payment transaction.
In an alternative embodiment, the trusted third party data processing system 106 may determine that a token (e.g., a cookie) received from the mobile device matches the token associated with the mobile device 112, determine the eligibility of the user's selected payment method, process the transaction based on the information provided in the message 735 and send a message 740 notifying the entity data processing system 104 of the processed payment transaction. The entity data processing system 104 may, upon receipt of the message 740, proceed to complete the transaction (e.g. print out a receipt, notify retail personnel that payment was received, in the case of mail order proceed to a next step in the ordering process of packing and shipping the product, etc.), and may in real time send a message (e.g., receipt) back to the trusted third party data processing system 106 for the trusted third party data processing system 106 to send on to the mobile device 112 that the transaction was successful or that the transaction will be processed later.
In other illustrative examples, the entity data processing system 104 may request certain information from the user (e.g. certain personal information, a driver's license number, social security number, shoe size, etc.). In these examples, the trusted third party data processing system 106 may not process a payment but may process this information for the entity data processing system 104 based on selections and input from the user on the mobile device 112.
In various embodiments, the trusted third party data processing system 106 may not exist. In these embodiments, message 710 is generated by the entity data processing system 104 and may be signed by the entity data processing system 104. The mobile device 112 may contact the entity data processing system 104 over a TLS connection and deliver payment information (e.g. a credit card number, bank account number, etc.) or other information directly. The entity data processing system 104 will then complete the payment transaction using the received information from the mobile device 112.
In various embodiments of the present disclosure, the mobile device 112 may use a location sensor (GPS) to determine the geographical location of the mobile device 112. This information may be used to further determine the validity of the registration, confirmation, authentication, payment, or other function being performed. This determination may be performed by the mobile device 112. This location information may also be communicated to the trusted third party data processing system 106 or the entity data processing system 104, and the determination may be performed there. For example, an entity data processing system 104 could choose to only allow users to authenticate with a website if they are located within a certain region of the world. In another example, a payment processing the trusted third party data processing system 106 may choose to not allow payments from users located in a certain country.
FIG. 8 illustrates a flowchart of a process for registering a mobile device in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 8 may be implemented by the entity data processing system 104 and/or the trusted third party data processing system 106 in FIG. 1.
The process begins by receiving a request to register the mobile device (block 805). In block 805, the request may be received from a user of a mobile device via the mobile device or a user data processing system. The process then generates a first message including a first code (block 810).
Thereafter, the process sends the first message including first code (block 815). In block 815, the first message may be sent for display in a user interface associated with a website of the entity. In other examples, the message may be displayed on a user interface in clear text, encoded into an optically-scannable image, sent using NFC link, or transmitted as audio. The process then receives a second message including the first code (block 820).
Thereafter, the process identifies that the second message is signed by the mobile device (block 825). In block 825, the process may send a second code to the mobile device to increase the security of the registration of the mobile device. For example, the process may encrypt the second code with the public key of the mobile device and send the second code in a message to the mobile device for decryption and return. Upon return of the second code, the process has verified the mobile device based on the ability of the mobile device to decrypt the second code. The process then registers the mobile device (block 830), with the process terminating thereafter. In block 830, the mobile device is registered for use with the future session with the entity based on at least a portion of the second message being encrypted using the private key associated with the mobile device.
FIG. 9 illustrates a flowchart of a process for registering a mobile device performed at a mobile device in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 9 may be implemented by the mobile device 112 in FIG. 1.
The process begins by requesting to register the mobile device (block 905). In block 905, the request may be made by a user of a mobile device via the mobile device or a user data processing system. The process then identifies a first code from a first message (block 910). In block 910, the mobile device may identify the first message including the first code from an optically-scannable image, using a near field communications (NFC) link, using a limited distance point-to-point radio or from audio received by the mobile device.
Thereafter, the process generates and signs a second message including the first code (block 915). The process then sends the second message (block 920), with the process terminating thereafter. In block 920, the mobile device may send the second message to one of the entity and a third party. The mobile device sends the message so that one of the entity and a third party will register the mobile device for use with the future session with the entity. The process may also receive a second code encrypted in a message. For example, the second code may be encrypted with the public key of the mobile device and sent to the mobile device for decryption and return. Upon receipt of the message, the mobile device decrypts the second code and the second code is sent. The registering entity can then further verify the mobile device based on the ability of the mobile device to decrypt the second code.
FIG. 10 illustrates a flowchart of a process for confirming a transaction based on a mobile device in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 10 may be implemented by the entity data processing system 104 and/or the trusted third party data processing system 106 in FIG. 1.
The process begins by identifying a transaction requiring confirmation from a user (block 1005). For example, the transaction may be a type of transaction that a user or an entity has requested to get approval of a user from before processing. The process then determines whether a network connection to the mobile device is available (block 1010). In block 1010, the process identifies a mobile device associated with the user that the user has selected to be notified on when such a transaction requiring confirmation is identified. In block 1010, the process identifies whether the confirmation procedure will be completed with direct communication to the mobile device (e.g., in an online or offline mode). For example, the process may ping the mobile device to determine whether the mobile device has network connectivity. In other examples, the process may identify that the user of the mobile device has preselected the offline mode.
If the process determines that a network connection to the mobile device is available, the process sends a request for the confirmation to the mobile device (block 1015). Thereafter, the process receives a response from the mobile device (block 1020). In block 1020, the response may include an approval or denial of the transaction requiring confirmation.
The process then approves the transaction (block 1025), with the process terminating thereafter. In block 1025, the process approves the transaction if the response includes the user's approval. For example, the process sends approval for the transaction to be processed. If the message includes a user denial of the transaction, the process will not approve the transaction.
Returning to block 1010, if the process determines that a network connection to the mobile device is not available, the process generates a message including a challenge code and a request for confirmation (block 1030). Thereafter, the process encodes the message (block 1035). In block 1035, the message is encoded into one of an optically-scannable image and an audio message. In these illustrative embodiments, the optically-scannable image is intended for identification or decoding by a machine (e.g., the mobile device 112) as opposed to being encoded in a format that is intended for decoding by a human. Also, in these illustrative embodiments, the audio message that the message is encoded is intended for identification or decoding by a machine (e.g., the mobile device 112) as opposed to being encoded in an audio format that is intended for decoding by a human. For example, the audio message may be encoded as pulses or tones that can be decoded into the contents rather than encoded as audible words representing the contents of the message.
The process then sends the message (block 1040). In block 1040, the process sends the message for display or other presentation on a user interface (e.g., a website). The process may encrypt the message, including the challenge code, with a public key associated with the mobile device before sending the message.
Thereafter, the process receives a response code from the user (block 1045). In block 1045, the user may enter the response code into the website for delivery to the entity requesting the confirmation. The response code is a function of the challenge code. The process then proceeds to block 1025 and approves the transaction.
FIG. 11 illustrates a flowchart of a process for confirming transactions using a mobile device in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 11 may be implemented by the mobile device 112 in FIG. 1.
The process begins by determining whether a request for confirmation of a transaction was received over a network connection (block 1105). In block 1105, when the request is received over the network connection, the confirmation procedure proceeds with an online mode of confirmation. In other examples, the mobile device may not have network connectivity, or a user may have preselected to not receive confirmation requests at the mobile device.
If the process determines that a request for confirmation of a transaction was not received over a network connection, the process captures an optically-scannable image (block 1110). In block 1110, the process captures the image displayed on a user interface of a website.
The process then identifies a challenge code and the request for confirmation (block 1115). In block 1115, the process identifies the challenge code from the captured image. Thereafter, the process displays a response code on a display of the mobile device (block 1120), with the process terminating thereafter. In block 1120, the process displays the response code for entry by the user into a user interface associated with the website. The response code is a function of the challenge code. For example, the mobile device may apply a function to the challenge code to generate the response code for display to the user.
Returning to block 1105, if the process determines that a request for confirmation of a transaction was received over a network connection, the process displays the request for confirmation (block 1125). In block 1125, the request for confirmation is displayed on a screen of the mobile device. The process then receives user input comprising a response (block 1130). In block 1130, for example, the user may select to approve or deny the transaction via an input into the mobile device. Thereafter, the process sends the response (block 1135), with the process terminating thereafter. In block 1135, the process sends the response of the user to the entity requesting the confirmation.
FIG. 12 illustrates a flowchart of a process for authenticating a user for a session in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 12 may be implemented by the entity data processing system 104 and/or the trusted third party data processing system 106 in FIG. 1.
The process begins by generating a first message including an identifier (block 1205). In block 1205, the identifier is an identifier for the session for which the user is requesting to be authenticated. The process then sends the first message through an interface (block 1210). In block 1210, the interface may be a website associated with the entity, an electronic lock or a computer system. The process may encode the first message into an optically-scannable image to be presented on a login web page of the website. The process may send the first message for delivery to the mobile device using one of a near field communications (NFC) link and a limited distance point-to-point radio. The process may send the first message for transmission as audio.
Thereafter, the process determines whether a response message including the identifier has been received (block 1215). If the process determines that the response message including the identifier has been received, the process determines whether the message is signed by the mobile device (block 1220). If the process determines that the message is signed by the mobile device, the process authenticates the user (block 1225), with the process terminating thereafter.
Returning to block 1215, if the process determines that the response message including the identifier has not been received, the process determines whether a request for an offline mode has been received (block 1230). In block 1230, the offline mode may be requested by receiving a user identifier entered through an interface associated with the session. The offline mode may be selected because of lack of connectivity. If the process determines that request for an offline mode has not been received, the process returns to block 1215 and continues to wait for the response message.
If, however, the process determines that a request for an offline mode has been received, the process generates a second message including a challenge code (block 1235). In block 1235, the second message is encrypted using a key associated with the mobile device. The process then sends the second message through the interface (block 1240). In block 1240, the message may be sent through the same interface as in block 1210. Thereafter, the process determines whether an input including a response code has been received (block 1245). If the process determines that an input including the response code has been received, the process proceeds to block 1225 and authenticates the user, with the process terminating thereafter. The response code is a function of the challenge code.
FIG. 13 illustrates a flowchart of a process for authenticating a user for a session performed at a mobile device in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 13 may be implemented by the mobile device 112 in FIG. 1.
The process begins by receiving a first message including an identifier (block 1305). In block 1305, the mobile device receives the identifier through an interface associated with a session. For example, the mobile device may identify the first message from an optically-scannable image presented on a login web page of a website. The mobile device may receive the first message using one of a near field communications (NFC) link or a limited distance point-to-point radio. The mobile device may identify the first message from audio received by the mobile device.
The process then determines whether to request an offline mode (block 1310). In block 1310, the mobile device may lack connectivity to a network or a user may choose to request the offline mode even if network connectivity is available. If the offline mode is not requested, the process generates and signs a response message including the identifier for the session (block 1315). In block 1315, the response message may include a user identifier and be encrypted using a public key associated with one of the entity and the third party. The mobile device may request an input from a user of the mobile device to verify that the user is an authorized user of the mobile device. For example, the input may be at least one of a personal identification number, a password, a biometric input, a predefined gesture on a touch screen of the mobile device and a predefined pattern of movement of the mobile device.
Thereafter, the process sends the response message (block 1320), with the process terminating thereafter. In block 1320, the mobile device may send the response message to one of the entity and the third party to request authentication of the user for the session.
Returning to block 1310, if the offline mode is requested, the process receives a second message including a challenge code (block 1325). In block 1325, the second message may be received and identified through the interface associated with the session. The process then decrypts the second message (block 1330). In block 1330, the second message may be encrypted using a key associated with a mobile device. Thereafter, the process identifies the challenge code from the decrypted message (block 1335). The process then displays a response code for the user to enter (block 1340), with the process terminating thereafter. In block 1340, the mobile device may display the response code on a display for the user to enter into the interface associated with the session. The response code is a function of the challenge code. For example, the mobile device may apply a function to the challenge code to generate the response code for display to the user.
FIG. 14 illustrates a flowchart of a process for authenticating a user for a session using a token in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 14 may be implemented by the entity data processing system 104 and/or the trusted third party data processing system 106 in FIG. 1.
The process begins by generating a first message including an identifier for the session (block 1405). The process then sends the first message via a first communication path (block 1410). In block 1410, the first communication path may include an optical scan.
Thereafter, the process receives a response message via a second communication path (block 1415). In block 1415, the second communication path is different from the first communication path; for example, the second communication path may not include the optical scan. The response message is received from a mobile device associated with the user and includes the identifier for the session. The response message may also include a token associated with the mobile device. For example, the token may have been received by the mobile device from a registration of the mobile device using a website. In this manner, the mobile device may be used to authenticate the user using a token from a web registration process without the need for a special application.
The process then determines whether the response message includes a token (block 1420). If the process determines that the response message includes the token, the process authenticates the user (block 1425), with the process terminating thereafter. If the process determines that the response message does not include the token, the process may end without authenticating the user. The process may also generate and send a new message including the identifier to retry the authentication procedure described in FIG. 14.
FIG. 15 illustrates a flowchart of a process for authenticating a user for a session performed at a mobile device in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 15 may be implemented by the mobile device 112 in FIG. 1.
The process begins by receiving a first message via a first communication path (block 1505). In block 1505, the first message is received at a mobile device associated with the user. The first message may include an identifier for the session. The first communication path may include an optical scan.
The process then sends a response message including a token via a second communication path (block 1510), with the process terminating thereafter. In block 1510, the second communication path is different from the first communication path; for example, the second communication path may not include the optical scan. The response message may also include the identifier for the session with the token associated with the mobile device. For example, the token may have been received by the mobile device from a registration of the mobile device using a website. In this manner, the mobile device may be used to authenticate the user using a token from a web registration process without the need for a special application. The response message is sent with the token for authentication of the user based on the response message including the token associated with the mobile device.
FIG. 16 illustrates a flowchart of a process for obtaining information for a payment transaction in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 16 may be implemented by the entity data processing system 104 and/or the trusted third party data processing system 106 in FIG. 1.
The process begins by generating a first message including a request for information (block 1605). In block 1605, the first message may include a session identifier and a request for information. The process then sends the first message via a first communication path (block 1610). In block 1610, a portion of the first communication path can include encoding the first message into an optically-scannable image, sending the first message using one of a near field communications (NFC) link or a limited distance point-to-point radio and transmitting the first message as audio.
Thereafter, the process receives a second message including the information via a second path (block 1615). In block 1615, the second message may include the identifier and the requested information. The second communication path is different than the first communication path. For example, the second communication path may be a network link using a wireless network connection of the mobile device. The process then processes the payment transaction using the information (block 1620), with the process terminating thereafter.
FIG. 17 illustrates a flowchart of a process for sending information for a payment transaction performed at a mobile device in accordance with an illustrative embodiment. This process can be performed, for example, by one or more data processing systems configured to perform acts described below. The process can be implemented by executable instructions stored in a non-transitory computer-readable medium that cause one or more data processing systems to perform such a process. For example, the process illustrated in FIG. 17 may be implemented by the mobile device 112 in FIG. 1.
The process begins by receiving a first message including a request for information via a first communication path (block 1705). In block 1705, the first message may include an identifier for the session and a request for information. The first communication path can include identifying the first message an optically-scannable image presented on a web page of a website associated with the payment transaction and identifying the first message from the optically-scannable image presented a display device of an entity associated with the payment transaction. The first communication path may also include receiving the first message using one of a near field communications (NFC) link and a limited distance point-to-point radio and identifying the first message from audio received by the mobile device.
The process then identifies the requested information (block 1710). In block 1710, the mobile device may automatically identify the information and display a request for confirmation or selection of the information to be sent. In other examples, the mobile device may request an input including the information.
Thereafter, the process generates a second message including the requested information (block 1715). In block 1715, the mobile device may request, before sending the second message, an input from a user of the mobile device to verify that the user is an authorized user of the mobile device. The input may be at least one of a personal identification number, a password, a biometric input, a predefined gesture on a touch screen of the mobile device and a predefined pattern of movement of the mobile device.
The process then sends the second message via a second path (block 1720), with the process terminating thereafter. In block 1720, the mobile device sends the second message to one of an entity associated with the payment transaction and a third party. The second communication path is different from the first communication path. For example, the second communication path may be a network link using a wireless network connection of the mobile device.
The flowchart and block diagrams in the figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various illustrative embodiments. In this regard, each block in the flowchart or block diagrams may represent a module, segment, function and/or a portion of an operation or step. For example, one or more of the blocks may be implemented as program code, in hardware or a combination of the program code and hardware. When implemented in hardware, the hardware may, for example, take the form of integrated circuits that are manufactured or configured to perform one or more operations in the flowcharts or block diagrams.
In some alternative implementations, the function or functions noted in the blocks may occur out of the order noted in the figures. For example, in some cases, two blocks shown in succession may be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Also, other blocks may be added in addition to the illustrated blocks in a flowchart or block diagram.
FIG. 18 illustrates an example data processing system 1800 in accordance with this disclosure. In this example, the data processing system 1800 includes a bus system 1802, which provides communications between a processor 1804, a memory 1806, a persistent storage 1808, a communications unit 1810, an input/output (I/O) unit 1812, and a display 1814. In these illustrative examples, the data processing system 1800 is an example of one implementation of the trusted third party data processing system 106, the entity data processing system 104, the notification data processing system 108, the user data processing system 110, the mobile device 112 and the payment device 114 in FIG. 1.
The processor 1804 processes instructions for software that may be loaded into the memory 1806. The processor 1804 may be a number of processors, a multi-processor core or some other type of processor, depending on the particular implementation. Further, the processor 1804 may be implemented using a number of heterogeneous processor systems in which a main processor is present with secondary processors on a single chip. As another illustrative example, the processor 1804 may be a symmetric multi-processor system containing multiple processors of the same type.
The memory 1806 and the persistent storage 1808 are examples of storage devices 1816. A storage device is any piece of hardware that is capable of storing information, such as, for example, without limitation, data, program code in functional form and/or other suitable information either on a temporary basis and/or a permanent basis. The memory 1806, in these examples, may be, for example, a random access memory or any other suitable volatile or non-volatile storage device. For example, the persistent storage 1808 may contain one or more components or devices. For example, the persistent storage 1808 may be a hard drive, a flash memory, an optical disk, a rewritable magnetic tape or some combination of the above. The media used by the persistent storage 1808 also may be removable. For example, a removable hard drive may be used for the persistent storage 1808.
The communications unit 1810 provides for communications with other data processing systems or devices. In these examples, the communications unit 1810 is a network interface card. The communications unit 1810 may provide communications through the use of either or both physical and wireless communications links. The communications unit 1810 may also include a NFC transceiver for enabling NFC. The communications unit 1810 may also include a radio frequency (RF) transceiver enabling wireless network communication. The communications unit 1810 may also include a GPS transceiver enabling positional location information.
The input/output unit 1812 allows for input and output of data with other devices that may be connected to the data processing system 1800. For example, the input/output unit 1812 may provide a connection for user input through a keyboard, a mouse and/or some other suitable input device. Further, the input/output unit 1812 may send output to a printer. The input/output unit 1812 may also include or be connected to a camera, microphone, speaker, accelerometer and/or proximity sensor. The data processing system 1800 may utilize inputs and outputs from camera, microphone, speaker, accelerometer and/or proximity sensors in accordance with various communication and data transfer principles of the present disclosure. The display 1814 provides a mechanism to display information to a user. For example, the display 1814 may be a touch screen.
Program code for an operating system, applications or other programs may be located in the storage devices 1816, which are in communication with the processor 1804 through the bus system 1802. In some embodiments, the program code is in a functional form on the persistent storage 1808. These instructions may be loaded into the memory 1806 for processing by the processor 1804. The processes of the different embodiments may be performed by the processor 1804 using computer implemented instructions, which may be located in the memory 1806. For example, the processor 1804 may perform processes for one or more of the modules and/or devices described above.
In some embodiments, various functions described above are implemented or supported by a computer program product that is formed from computer readable program code and that is embodied in a computer readable medium. Program code for the computer program product may be located in a functional form on a computer readable storage device that is selectively removable and may be loaded onto or transferred to the data processing system 1800 for processing by the processor 1804. In some illustrative embodiments, the program code may be downloaded over a network to the persistent storage 1808 from another device or data processing system for use within the data processing system 1800. For instance, program code stored in a computer readable storage medium in a server data processing system may be downloaded over a network from the server to the data processing system 1800. The data processing system providing program code may be a server computer, a client computer, or some other device capable of storing and transmitting program code.
As will be appreciated by one skilled in the art, aspects of the present disclosure may take the form of a computer program embodied in one or more computer readable storage medium(s) having program code embodied thereon. A computer readable storage medium may be, for example, without limitation, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device or any suitable combination of the foregoing. The program code may also be loaded for execution by a processor to provide processes for implementing the functions or operations described in the present disclosure.
Embodiments of the present disclosure provide authentication for various transaction confirmations, access sessions and information exchanges utilizing a mobile device of a user. Embodiments of the present disclosure utilize registration processes to allow a mobile device of a user to act as an authentication token for various situations. Embodiments of the present disclosure provide security and simplicity in various user sessions. Embodiments of the present disclosure reduce the requirement for users to remember passwords, user identifiers and other personal information while maintaining and/or increasing security in user sessions.
It may be advantageous to set forth definitions of certain words and phrases used throughout this patent document. The terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation. The term “or” is inclusive, meaning and/or. The phrases “associated with” and “associated therewith,” as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, have a relationship to or with or the like. The phrase “at least one of”, when used with a list of items, means that different combinations of one or more of the listed items may be used, and only one item in the list may be needed. For example, “at least one of item A, item B, and item C” may include, without limitation, item A or item A and item B.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

## Claims

1. A non-transitory computer-readable medium embodying a computer program for authenticating a user based on a mobile device by a server data processing system, the computer program comprising computer-readable program code for:
generating, by the server data processing system, a first message including a first session identifier uniquely identifying a session established between the server data processing system and a user data processing system, the user data processing system including a physical interface, the user data processing system separate from the mobile device;
sending the first message to the user data processing system for delivery to the mobile device through the physical interface of the user data processing system;
in a first authentication mode, authenticating, by the server data processing system, the user for the session based on receiving a response message including a second session identifier, a user identifier, and a digital signature based on a private key of the mobile device associated with the user, the response message being received through an interface that is separate from the user data processing system; matching the first session identifier and the second session identifier; and identifying that the response message includes the digital signature based on the private key of the mobile device; and
in a second authentication mode that is different than the first authentication mode, authenticating, by the server data processing system, the user for the session based on receiving, from the user data processing system through the session, an authentication code generated by the mobile device.

2. The computer-readable medium of claim 1, the computer program further comprising computer-readable program code for:
encoding the first message into an optically-scannable image.

3. The computer-readable medium of claim 2, wherein the session is a web session on a website and the optically-scannable image is presented on a login web page of the website as the physical interface of the user data processing system.

4. The computer-readable medium of claim 1, wherein the first message is sent using one of: a near field communications (NFC) link and a limited distance point-to-point radio.

5. The computer-readable medium of claim 1, wherein the computer-readable program code for authenticating the user for the session comprises computer-readable program code for:
sending, using the server data processing system associated with a third party, an approval message to a data processing system associated with an entity, wherein the response message is received by the server data processing system associated with the third party.

6. The computer-readable medium of claim 1, wherein the first message is transmitted as audio.

7. The computer-readable medium of claim 1, wherein the computer-readable program code for authenticating the user for the session comprises computer-readable program code for:
determining whether the response message was received within a threshold amount of time since the first message was generated; and
authenticating the user for the session in response to determining that the response message was received within the threshold amount of time.

8. The computer-readable medium of claim 1, the computer program further comprising computer-readable program code for:
identifying when a period of time has lapsed since the first message was generated;
generating a second message including a third session identifier for the session in response to identifying that the period of time has lapsed; and
sending the second message to the user data processing system for delivery to the mobile device through the physical interface of the user data processing system.

9. The computer-readable medium of claim 1, the computer program further comprising computer-readable program code for registering, before generating and sending the first message, a public key associated with the mobile device;
wherein the computer-readable program code for authenticating the user for the session in response to identifying that the response message includes the digital signature based on the private key of the mobile device comprises computer-readable program code for authenticating the user for the session in response to identifying that the digital signature is validated with the registered public key associated with the mobile device.

10. The computer-readable medium of claim 9, further comprising computer-readable program code for using the user identifier to identify the registered public key associated with the mobile device.

11. The computer-readable medium of claim 1, wherein the authentication code is generated and sent, by the server data processing system, in a second message to the user data processing system for delivery to the mobile device through the physical interface of the user data processing system.

12. The computer-readable medium of claim 11, wherein the authentication message is encrypted with a public key associated with the mobile device.

13. A non-transitory computer-readable medium embodying a computer program for facilitating authentication of a user by a mobile device, the computer program comprising computer-readable program code for:
receiving, by the mobile device, through a physical interface associated with a session, a first message including a session identifier uniquely identifying the session, the session established between a server data processing system and a user data processing system, the user data processing system including the physical interface, the user data processing system separate from the mobile device;
in a first authentication mode, facilitating, by the mobile device, authentication of the user for the session identified by the unique session identifier based on generating, by the mobile device, a response message including the unique session identifier, a user identifier, and a digital signature based on a private key of the mobile device associated with the user; and sending, by the mobile device, the response message through an interface separate from the user data processing system to a specified party to request authentication of the user for the session that is on the user data processing system and identified by the unique session identifier; and
in a second authentication mode that is different than the first authentication mode, facilitating, by the mobile device, authentication of the user for the session identified by the unique session identifier based on displaying, by the mobile device, an authentication code for entry of the authentication code into the user data processing system through the session, the entry of which via the user data processing system through the session requests authentication of the user for the session identified by the unique session identifier.

14. The computer-readable medium of claim 13, the computer program further comprising computer-readable program code for:
identifying the first message from an optically-scannable image.

15. The computer-readable medium of claim 14, wherein the session is a web session on a website and the optically-scannable image is presented on a login web page of the website as the physical interface of the user data processing system.

16. The computer-readable medium of claim 13, the computer program further comprising computer-readable program code for receiving the first message using one of: a near field communications (NFC) link and a limited distance point-to-point radio.

17. The computer-readable medium of claim 13, the computer program further comprising computer-readable program code for:
requesting an input from the user to verify that the user is an authorized user of the mobile device.

18. The computer-readable medium of claim 17, wherein the input is at least one of a personal identification number, a password, a biometric input, a predefined gesture on a touch screen of the mobile device, and a predefined pattern of movement of the mobile device.

19. The computer-readable medium of claim 13, the computer program further comprising computer-readable program code for:
displaying a list of user identifiers for the user in response to identifying that the user has more than one user identifier for authentication; and
receiving a selection of the user identifier to be included in the response message.

20. The computer-readable medium of claim 13, the computer program further comprising computer-readable program code for:
displaying a request for confirmation of the request for the authentication of the user for the session,
wherein sending the response message to request authentication of the user for the session is performed in response to receiving a user input comprising the confirmation.

21. The computer-readable medium of claim 13, wherein the response message is encrypted using a public key associated with the specified party.

22. The computer-readable medium of claim 13, the computer program further comprising computer-readable program code for identifying the first message from audio received by the mobile device.

23. A non-transitory computer-readable medium embodying a computer program for facilitating authentication of a user based on a mobile device by a third party data processing system, the computer program comprising computer-readable program code for:
receiving, by the third party data processing system, a request for authentication from an entity data processing system associated with an entity, the entity associated with a first session identifier uniquely identifying a session established between the entity data processing system and a user data processing system, the user data processing system including a physical interface, the user data processing system separate from the mobile device;
in a first authentication mode, facilitating, by the third party data processing system, authentication of the user for the session based on receiving, from the mobile device, a message including a second session identifier, a user identifier, and a digital signature based on a private key of the mobile device; and in response to matching the first session identifier received from the mobile device with the second session identifier associated with the entity, sending a response message to the entity data processing system associated with the entity; and
in a second authentication mode that is different than the first authentication mode, facilitating, by the third party data processing system, authentication of the user for the session based on receiving, from the entity data processing system via the user data processing system through the session, an authentication code generated by the mobile device; and sending a response message to the entity data processing system associated with the entity.

24. The computer-readable medium of claim 23, wherein the request for authentication received from the entity data processing system includes the first session identifier associated with the entity.

25. The computer-readable medium of claim 23, the computer program further comprising computer-readable program code for sending the first session identifier associated with the entity to the entity data processing system in response to receiving the request for authentication.

26. A server data processing system for authenticating a user based on a mobile device, the server data processing system comprising:
at least one memory configured to store program code;
at least one communication unit; and
at least one processor configured to execute the program code to cause the data processing system to:
generate a first message including a first session identifier uniquely identifying a session established between the server data processing system and a user data processing system, the user data processing system including a physical interface, the user data processing system separate from the mobile device;
send, via the at least one communication unit, the first message to the user data processing system for delivery to the mobile device through the physical interface of the user data processing system;
in a first authentication mode, authenticate the user for the session based on receipt, via the at least one communication unit, of a response message including a second session identifier, a user identifier, and a digital signature based on a private key of a mobile device associated with the user, the response message being received through an interface that is separate from the user data processing system; the first session identifier and the second session identifier matching; and identification that the response message includes the digital signature based on the private key of the mobile device; and
in a second authentication mode that is different than the first authentication mode, authenticate the user for the session based on receipt, from the user data processing system through the session, an authentication code generated by the mobile device.

27. The server data processing system of claim 26, wherein the at least one processor is further configured to execute the program code to cause the server data processing system to encode the first message into an optically-scannable image.