Asynchronous authorization method and system, electronic device, and computer-readable storage medium
AssigneeHuawei Technologies Co., Ltd.
InventorZejia Zhong
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorZejia Zhong
Estimating the term…
Example methods, systems, and electronic devices are provided. An example method includes sending a request to an authorization server when a third-party application requests a user authorization. The method includes obtaining a device code, a user code, and a URL of an authorization page, such determined by the authorization server based on the request. The method includes sending, to a second electronic device, the user code and the URL, and sending an authorization code request to the authorization server. The method includes obtaining an authorization code returned that includes the device code. The authorization code is generated based on a permission a user agrees to grant determined based on the device code after the authorization code request is obtained. The grant is determined based on a selection of a permission on the authorization page generated based on the user code and the URL sent by the second electronic device.
A system, comprising a first electronic device, a second electronic device, and an authorization server, wherein:
A method, applied to a first electronic device, the method comprising:
A first electronic device, comprising at least one memory, at least one processor, and a computer program that can be run on the at least one processor and that is stored in the at least one memory, wherein when the at least one processor executes the computer program, the first electronic device is caused to:
Dependencies are inferred from the claim text.