LOGIN METHOD FOR CLIENT APPLICATION AND CORRESPONDING SERVER
First Claim
1. A login method for a client application, the method comprising:
- sending an access token to a browser of a terminal and creating a corresponding relationship between the access token and user information of a user after the user has successfully logged into a web application via the browser of the terminal;
receiving a relationship creating request from the browser and creating a corresponding relationship between device information of the terminal and the access token in accordance with the relationship creating request, wherein the relationship creating request includes the device information of the terminal and the access token;
receiving a login request of a client application, the login request including the device information of the terminal that operates the client application;
determining the access token corresponding to the device information of the terminal that operates the client application based on the created corresponding relationship between the device information and the access token; and
determining the user information which corresponds to the access token based on the created corresponding relationship between the access token and the user information, and performing a login operation of the client application program based on the user information.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a login method for a client application and a corresponding server. The method includes: sending an access token to a browser of a terminal and creating a corresponding relationship between the access token and user information of a user after the user has successfully logged into a web application via the browser of the terminal; receiving a relationship creating request from the browser and creating a corresponding relationship between device information of the terminal and the access token in accordance with the relationship creating request, wherein the relationship creating request includes the device information of the terminal and the access token; receiving a login request of a client application, the login request including the device information of the terminal that operates the client application; determining the access token corresponding to the device information of the terminal that operates the client application based on the created corresponding relationship between the device information and the access token; and determining the user information which corresponds to the access token based on the created corresponding relationship between the access token and the user information, and performing a login operation of the client application program based on the user information. The technical scheme of the present disclosure can achieve login without re-inputting information such as a user name and a password when a client application is to be logged in after a web application in a terminal has successfully been logged in.
-
Citations
20 Claims
-
1. A login method for a client application, the method comprising:
-
sending an access token to a browser of a terminal and creating a corresponding relationship between the access token and user information of a user after the user has successfully logged into a web application via the browser of the terminal; receiving a relationship creating request from the browser and creating a corresponding relationship between device information of the terminal and the access token in accordance with the relationship creating request, wherein the relationship creating request includes the device information of the terminal and the access token; receiving a login request of a client application, the login request including the device information of the terminal that operates the client application; determining the access token corresponding to the device information of the terminal that operates the client application based on the created corresponding relationship between the device information and the access token; and determining the user information which corresponds to the access token based on the created corresponding relationship between the access token and the user information, and performing a login operation of the client application program based on the user information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A server for implementing a login of a client application, the server comprising:
-
a sending module used for sending an access token to a browser of a terminal when a user has successfully logged into a web application via the browser of the terminal; a first creation module used for creating a corresponding relationship between the access token and user information of the user; a first receiving module used for receiving a relationship creating request from the browser, wherein the relationship creating request includes device information of the terminal and the access token; a second creation module used for creating a corresponding relationship between the device information of the terminal and the access token in accordance with the creating relationship request; a second receiving module used for receiving a login request of a client application, wherein the login request includes the device information of the terminal that operates the client application; a first determination module used for determining the access token corresponding to the device information of the terminal that operates the client application based on the created corresponding relationship between the device information and the access token; a second determination module used for determining the user information corresponding to the access token based on the created corresponding relationship between the access token and the user information; and a login module used for obtaining the corresponding user information based on the device information of the terminal included in the login request, and performing a login operation of the client application based on the user information. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A login method for a client application of a terminal, the method comprising:
-
receiving an access token returned from a server when a browser is used to log into an application service provided by a web application of the server, and storing the access token in a terminal, wherein the access token corresponds to user information for logging into the web application; obtaining device information of the terminal when the client application in the terminal that is related to the web application program is used to log into the application service; calling the browser and sending the device information of the terminal and the access token through the browser to request the server to create a corresponding relationship between the device information of the terminal and the access token; initiating a login request using the client application, wherein the login request includes the device information of the terminal, and the login request is used for requesting the server to determine the access token which corresponds to the device information of the terminal based on the created corresponding relationship between the device information of the terminal and the access token; and determining the user information corresponding to the access token based on the corresponding relationship between the access token and the user information, and performing a login operation using the determined user information. - View Dependent Claims (18, 19, 20)
-
Specification