Handling open authentication of an invoked web service in a process
First Claim
Patent Images
1. A method for handling open authentication (OAuth) of an invoked web service in a process, comprising:
- determining whether an OAuth access token has expired, the determining comprising;
sending a hypertext transfer protocol (HTTP) request to the invoked web service; and
deciding whether the OAuth access token has expired based on a returned result from the invoked web service; and
initiating an automatic update of the OAuth access token based on determining that the OAuth access token has expired, the initiating including extracting content from the returned result and constructing a request to update the OAuth access token, the extracted content including computer code executable for updating the OAuth access token, and the request to update the OAuth access token including the extracted content.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments relate to methods, systems, and computer program products for handling open authentication (OAuth) of an invoked web service in a process. An aspect includes determining whether an OAuth access token has expired. Another aspect includes initiating an automatic update of the OAuth access token based on determining that the OAuth access token has expired.
-
Citations
17 Claims
-
1. A method for handling open authentication (OAuth) of an invoked web service in a process, comprising:
-
determining whether an OAuth access token has expired, the determining comprising; sending a hypertext transfer protocol (HTTP) request to the invoked web service; and deciding whether the OAuth access token has expired based on a returned result from the invoked web service; and initiating an automatic update of the OAuth access token based on determining that the OAuth access token has expired, the initiating including extracting content from the returned result and constructing a request to update the OAuth access token, the extracted content including computer code executable for updating the OAuth access token, and the request to update the OAuth access token including the extracted content. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for handling OAuth of an invoked web service in a process, the system comprising:
-
a memory having computer readable instructions; and a processor for executing the computer readable instructions, the computer readable instructions including; determining whether an OAuth access token has expired, the determining comprising; sending a hypertext transfer protocol (HTTP) request to the invoked web service; and deciding whether the OAuth access token has expired based on a returned result from the invoked web service; and initiating an automatic update of the OAuth access token based on determining that the OAuth access token has expired, the initiating including extracting content from the returned result and constructing a request to update the OAuth access token, the extracted content including computer code executable for updating the OAuth access token, and the request to update the OAuth access token including the extracted content. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for handling open authentication (OAuth) of an invoked web service in a process, the computer program product comprising:
-
a non-transitory computer readable storage medium having program code embodied therewith, the program code executable by a processor for; determining whether an OAuth access token has expired, the determining comprising; sending a hypertext transfer protocol (HTTP) request to the invoked web service; and deciding whether the OAuth access token has expired based on a returned result from the invoked web service; and initiating an automatic update of the OAuth access token based on determining that the OAuth access token has expired, the initiating including extracting content from the returned result and constructing a request to update the OAuth access token, the extracted content including computer code executable for updating the OAuth access token, and the request to update the OAuth access token including the extracted content. - View Dependent Claims (16, 17)
-
Specification