发明名称 Login method for client application and corresponding server
摘要 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.
申请公布号 US9544295(B2) 申请公布日期 2017.01.10
申请号 US201414512723 申请日期 2014.10.13
申请人 Alibaba Group Holding Limited 发明人 Fang Tengfei
分类号 H04L29/06;G06F21/41 主分类号 H04L29/06
代理机构 Lee & Hayes, PLLC 代理人 Lee & Hayes, PLLC
主权项 1. A 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 a client application via the browser and creating a corresponding relationship between device information of the terminal and the access token in accordance with the relationship creating request, the client application being a third-party application different from the web application and the browser, wherein the relationship creating request includes the device information of the terminal and the access token, and wherein the access token is obtainable by the browser and not invokable by the client application; receiving a login request of the 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; determining the user information which corresponds to the access token based at least in part on the created corresponding relationship between the access token and the user information; and performing a login operation of the client application based at least in part on the user information.
地址 Grand Cayman KY