Method and Apparatus for Upgrading Open Authentication (OAUTH) Credentials
First Claim
Patent Images
1. A method for upgrading an open authentication (OAuth) credential, comprising:
- receiving, by an open platform, a service request from a third party application requesting a service from the open platform, wherein the service request carries an OAuth credential representing an authorization granted to the third party application by a resource owner;
determining, by the open platform, whether the OAuth credential carried in the service request is of an old version OAuth protocol;
prompting, by the open platform, the third party application to perform a version upgrade operation if the OAuth credential carried in the service calling request is of the old version OAuth protocol;
receiving, by the open platform, a version upgrade request from the third application, wherein the version upgrade request carries an identifier of the third party application, an identifier of the resource owner and the old version OAuth credential;
validating, by the open platform, the old version OAuth credential carried in the version upgrade request;
issuing, by the open platform, a new version OAuth credential to the third party application if the old version OAuth credential is valid; and
returning, by the open platform, the new version OAuth credential to the third party application.
1 Assignment
0 Petitions
Accused Products
Abstract
According to an example, after the open platform upgrades its OAuth protocol version, if receiving a service request carrying an old version OAuth credential, the open platform prompts the third party application to upgrade its OAuth credential. The third party application starts the OAuth credential upgrade process initiatively by transmitting a version upgrade request to the open platform.
-
Citations
12 Claims
-
1. A method for upgrading an open authentication (OAuth) credential, comprising:
-
receiving, by an open platform, a service request from a third party application requesting a service from the open platform, wherein the service request carries an OAuth credential representing an authorization granted to the third party application by a resource owner; determining, by the open platform, whether the OAuth credential carried in the service request is of an old version OAuth protocol;
prompting, by the open platform, the third party application to perform a version upgrade operation if the OAuth credential carried in the service calling request is of the old version OAuth protocol;receiving, by the open platform, a version upgrade request from the third application, wherein the version upgrade request carries an identifier of the third party application, an identifier of the resource owner and the old version OAuth credential; validating, by the open platform, the old version OAuth credential carried in the version upgrade request;
issuing, by the open platform, a new version OAuth credential to the third party application if the old version OAuth credential is valid; andreturning, by the open platform, the new version OAuth credential to the third party application. - View Dependent Claims (2, 3, 4)
-
-
5. A method for upgrading an open authentication (OAuth) credential, comprising:
-
transmitting, by a third party application, a service request to an open platform requesting a service from the open platform, wherein the service request carries an OAuth credential representing an authorization granted to the third party application by a resource owner; receiving, by the third party application, from the open platform prompt information indicating that the OAuth credential carried in the service request is of an old version OAuth protocol; transmitting, by the third party application, a version upgrading request to the open platform, such that the open platform issues a new version OAuth credential to the third party application;
wherein the version upgrade request carries an identifier of the third party application, an identifier of the resource owner and the old version OAuth credential; andreceiving, by the third party application, the new version OAuth credential issued by the open platform. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer-readable storage medium comprising a set of instructions for upgrading an open authentication (OAuth) credential, the set of instructions to direct at least one processor to perform acts of:
-
receiving a service request from a third party application requesting a service from the open platform, wherein the service request carries an OAuth credential representing an authorization granted to the third party application by a resource owner; determining whether the OAuth credential carried in the service request is of an old version OAuth protocol;
prompting, by the open platform, the third party application to perform a version upgrade operation if the OAuth credential carried in the service calling request is of the old version OAuth protocol;receiving a version upgrade request from the third application, wherein the version upgrade request carries an identifier of the third party application, an identifier of the resource owner and the old version OAuth credential; validating the old version OAuth credential carried in the version upgrade request;
issuing, by the open platform, a new version OAuth credential to the third party application if the old version OAuth credential is valid; andreturning the new version OAuth credential to the third party application. - View Dependent Claims (10, 11, 12)
-
Specification